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 138 times
Edit
-1
Community Evaluations
developer avatar
Ambiguous
Nick LAM YEE MAN
11/12/2023
Techniquement le code n'affichera rien à cause du %s
developer avatar
Incorrect answer
Lancelot
20/12/2023
It will not show anything since the token is not valid