C

Chandani • 9.82K Points
Tutor III

Q. A string is terminated by ___

  • (A) Newline ('\n')
  • (B) Null ('\0')
  • (C) Whitespace
  • (D) None of the above

Explanation by: Chandani
In C programming language, a string is a sequence of characters terminated with a null character \0.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics