Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

C | Data Types | Question 2

  • Difficulty Level : Easy
  • Last Updated : 28 Jun, 2021

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


My Personal Notes arrow_drop_up

Start Your Coding Journey Now!