I need help in this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
6th Mar 2021, 6:39 PM
Yasir Yagoub Ahmed
Yasir Yagoub Ahmed - avatar
3 Answers
0
Yasir Yagoub Ahmed What you want to do here?
6th Mar 2021, 7:03 PM
A͢J
A͢J - avatar
0
the statement: 1+b; has no effect. If you would like to increment variable b, you can use: b++; OR b += 1;
6th Mar 2021, 7:04 PM
Slick
Slick - avatar
0
you must assign expression result to something (could be passed as function argument): b = 1+b; or: printf("%d",1+b);
6th Mar 2021, 7:12 PM
visph
visph - avatar