Computer Science, asked by csanyal3353, 1 year ago

Which escape sequence would i use to include a apostrophe within a single quoted string?

Answers

Answered by pankajkumar17pm
0

To include a apostrophe within a singe quoted string use

\'

Answered by phillipinestest
1

\' is the escape sequence that the user would use to include an "apostrophe" within a "single quoted string".

The user can have the provision to add an apostrophe or a single quote within the single-quoted string when the user needs to escape it, i.e., the user can add a backslash “\”.

For example, ' this is an example '\s text for the user'

Similar questions