Q. What is the null character used to terminate strings in C?

  • (A) ' '
  • (B) '0'
  • (C) \n
  • (D) \0
πŸ’¬ Discuss
βœ… Correct Answer: (D) \0
Explanation: Strings in C are terminated with the null character '\0'.
Explanation by: Mr. Dubey
Strings in C are terminated with the null character '\0'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate