adplus-dvertising
frame-decoration

Question

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.

1 and 2

b.

2 and 4

c.

3 and 4

d.

All are valid

Answer: (d).All are valid

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. 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;