0

Explain what happens to this code snippet, when executed int *p =10; p++, printf("%x %x",p, *p);

24th Oct 2020, 9:21 AM
Mohan Kumar KM
Mohan Kumar KM - avatar
6 Respostas
+ 5
Mohan Kumar KM please move you code down to the description 👇
24th Oct 2020, 9:26 AM
Ananiya Jemberu
Ananiya Jemberu - avatar
+ 1
This code produces compile errors. No output.
24th Oct 2020, 9:38 AM
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż - avatar
+ 1
You can run it in SoloLearn playground and check it yourself.
24th Oct 2020, 10:38 AM
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż - avatar
0
int *p =10 ; p++, printf("%x %x", p, *p) ;
24th Oct 2020, 9:33 AM
Mohan Kumar KM
Mohan Kumar KM - avatar
0
What's the errors
24th Oct 2020, 9:41 AM
Mohan Kumar KM
Mohan Kumar KM - avatar