Strings are an array of characters that end with a null character (‘\0’). The presence of null character specifies the end of a string. Remember, strings should always be enclosed by double quotes.

Most used functions in the string library are listed below:
  • strlen
  • strcat
  • strchr
  • strcpy
  • strncat
  • strcmp etc
BY Best Interview Question ON 06 Feb 2019