x =12 printf(%d %d ,++x, x++) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

x =12 printf(%d %d ,++x, x++)

What is the output of this code?

25th Aug 2020, 11:01 AM
Pro Ash
Pro Ash - avatar
2 Answers
+ 5
Nothing. it will generate an error you should use code playground for such type of questions
25th Aug 2020, 11:04 AM
Arsenic
Arsenic - avatar
+ 4
try with: int x = 12; printf("%d %d", ++x, x++) ;
25th Aug 2020, 11:12 AM
Rohit