C MCQ Questions and Answers on Strings, Char Arrays and Pointers 2 | c programming mcq questions answer
Study C MCQ Questions and Answers on Strings, Character Arrays, String Pointers and Char Pointers. Easily attend technical job interviews after practising the Multiple Choice Questions.
Go through C Theory Notes on Strings before studying questions.
1) What is the ASCII value of NULL or .?
A) 0
B) 1
C) 10
D) 49
Answer [=]
A
Explanation:
ASCII value of NULL character is ZERO 0.
2) A character constant is enclosed by.?
A) Left Single Quotes
B) Right Single Quotes
C) Double Quotes
D) None of the above
Answer [=]
B
Explanation:
char ary[] = {‘a’,’b’,’