Skip to content
Related Articles

Related Articles

C | Data Types | Question 2
  • Difficulty Level : Medium
  • Last Updated : 18 Feb, 2013

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

Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.



My Personal Notes arrow_drop_up
Recommended Articles
Page :