Home > Finding Error in C Program

void main()
{
int a = 10.5;
printf(“%d”,a);

}

A)  10.5
B)  10
C)  0
D)  Compilation Error
Answer: 10

Leave a Comment

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