Sail E0 Webinar
Question


Point out the error in the following program.


#include<stdio.h>
int main()
{
void v = 0;
printf("%d", v);
return = 0;
}
Options:
A .  Error: Declaration syntax error 'v' (or) Size of v is unknown or zero.
B .  Program terminates abnormally.
C .  No error.
D .  None of these.
Answer: Option A

No answer description available for this question



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers