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
5 ответов
+ 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