0

If we define a structure inside main, will it work?

What will happen if we define structure inside main?

28th Feb 2017, 10:20 AM
Utsuk Smile
Utsuk Smile - avatar
1 Antwort
+ 1
Yes. The only thing is you can't use the structure (and its members) anywhere outside the main().
28th Feb 2017, 10:48 AM
Rohan
Rohan - avatar