Store a Name in a Struct
easyQuestion 398A struct Person holds a char name[20] and an int age. Create a person named "Ada" who is 36 years old, then print the output shown in Expected Output.
Use printf with %s for the name and %d for the age. There is no trailing newline.
Expected output
Ada is 36= newline. No newline after the last line.
Hints2 available
Sign in to use hintsTopics
Structs
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (p, fori)
Your output
Run your code to see the output here...
Test cases
Run your code to see test case results.