answer must be A.
None of them is correct.
int z=7.0;
7.0 is not an integer int z=7 is right
double void = 0.000;
void is a keyword
short array [2]=0,1,2;
short array [2] = {0,1,2} is the right format
char c = "\n";
-- char c = '\n'; is the right format