Question from the Language C - Fundamentals test

Write a C program that prints the name, age, and height of a person.

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;    
    }
Author: KahinaStatus: Published(Update)Question passed 24 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!