Write a C program to illustrate \? escape sequence

0

There is no \? escape sequence in C language. The \? character is not used as an escape character in C.

It can be used in any string or character literal without any special meaning.

In C, the set of characters used as escape sequences are:

  • \a for alert (bell)
  • \b for backspace
  • \f for form feed
  • \n for newline
  • \r for carriage return
  • \t for horizontal tab
  • \v for vertical tab
  • \\ for backslash
  • \' for single quote (apostrophe)
  • \" for double quote

It is important to note that not all the above-mentioned escape sequences are supported in all the operating systems and terminals.

Post a Comment

0Comments
Post a Comment (0)