Character Types Multiple Questions and Answers.



1.How many characters are specified in the ASCII scheme?
A. 24
B. 256
C. 128
D. 64

2.Given the variables p, q are of char type and r, s, t are of int type. Select the right statement?
A. 1 is true but 2 is false
B. 1 is false and 2 is true
C. Both 1 and 2 are true
D. Both 1 and 2 are false

3.Which of the following belongs to the set of character types?
A. wchar_t
B. char
C. Both A & B
D. None of above

4.What will be the output of the following C++ code?
A. I
B. J
C. N
D. A

5.How do we represent a wide character of the form wchar_t?
A. la
B. L[a]
C. l’a’
D. L’a’

»



Quick Links

GAT Subject



   Computer Science    English    Agriculture    Botany    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC    PPSC    NTS