Question from the Language C - Fundamentals test

Write a C program to print the value of 42 divided by 2.

Easy

What does the following code display?

int number = 42;
int main () 
{

int number = 42/2;
printf ("%d\n", number);
return 0;
}

Author: KahinaStatus: Published(Update)Question passed 11 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!