0
Doubt in the below code, regarding printing sizeof structure value?
When I try to run the below program,I get error message. I don't know, why does this error message coming? Please tell me, how to avoid this error message and why it is happening https://code.sololearn.com/cSS1XcRULCKL/?ref=app
5 Respostas
+ 1
Printf() should be inside of a block/function.
Suggestions: place your printf (line no. 11) into main function
+ 3
This number is plateform dependant.
Here a int is 4 octets long and the pointer (a adress) is 12 octet long
+ 1
You're welcome :)
+ 1
Thank you Bernard Bordja (•‿•)
0
Thank you rupali ,now my code is working fine(✿^‿^)