C | Data Types | Question 2
Which of the following is not a valid declaration in C?
1. short int x; |
2. signed short x; |
3. short x; |
4. unsigned short x; |
(A) 3 and 4
(B) 2
(C) 1
(D) All are valid
Answer: (D)
Explanation: All are valid. First 3 mean the same thing. 4th means unsigned.
Quiz of this Question
Please Login to comment...