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[]; 
        int age = 18; 
        double height= 1.75;
        scanf(“%s”, name);
        printf(“%d/n%f/n%s/n”,age,height,name);
        
        return 0;    
    }
Author: Vincent CotroStatus: Published(Update)Question passed 259 times
Edit
-2
Community EvaluationsNo one has reviewed this question yet, be the first!