Medium
What does the following code display?
int main()
{
char name[100];
int age = 18;
double height= 1.75;
scanf("%s", name);
printf("%d\n%f\n%s\n",age,height,name);
return 0;
}
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
1
What does the following code refer to: C:\ProgramFiles\QtCreator\text.txt ? 4
Undefined behavior.7
What is the size of a long long in C++?2
Write a C program to calculate the total number of sweets.3
Find the sum of all even numbers in an array in C3
Write a C program that calculates the average of two notes.2
Write a C function to swap two integers.