πŸ“Š C Programming
Q. How are strings stored in C?
  • (A) As integer arrays
  • (B) As float arrays
  • (C) As arrays of characters ending with a null character
  • (D) As binary data
πŸ’¬ Discuss
βœ… Correct Answer: (C) As arrays of characters ending with a null character

Explanation: C strings are character arrays terminated by a '\0'.

Explanation by: Mr. Dubey
C strings are character arrays terminated by a '\0'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
60
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate