New course! Every coder should learn Generative AI!
Try a free lesson0
If we define a structure inside main, will it work?
What will happen if we define structure inside main?
1 Answer
+ 1
Yes. The only thing is you can't use the structure (and its members) anywhere outside the main().