Challenge: Anonymous Struct
This lesson brings you a challenge to solve.
We'll cover the following
Problem statement
Make a struct with 1 named float field, and 2 anonymous fields of type int
and string
. Create a value of the struct with a literal expression and print the content.
Try to implement the function below. Good Luck!
Get hands-on with 1400+ tech skills courses.