C - Data Types - Discussion

You Are Here :: Home > C > Data Types - Discussion

 



Q.

How many of the following declarations are correct?

One :int i = 7.0;
Two :double void = 0.000;
Three :short array[2] = {0, 1, 2};
A. None B. one is correct
C. one and two are correct D. one,two ,and three are correct

Answer: Option A
Explaination:

 


All are invalid Declarations








Discussion

Your Comments Goes here...
NameDiscussion