Skip to content
Related Articles
Open in App
Not now

Related Articles

C | Data Types | Question 2

Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article

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
Related Articles

Start Your Coding Journey Now!