Question:Consider on following declaration in c:
(i)short const register i=10;
(ii)static volatile const int i=10;
(iii)unsigned auto long register i=10;
(iv)signed extern float i=10.0;
Choose the correct one:
A Only (iv)is correct
B Only (ii) and (iv) is correct
C Only (i) and (ii) is correct
D Only (iii) correct
E All are correct declaration
+ ExplanationOption (III) is in correct due to we cannot specify two storage class auto and register in the declaration of any variable.
Option (iv) is in correct due to we cannot use signed or unsigned modifiers with float data type. In c float data type by default signed and it cannot be unsigned.