+ 2
How to solve?????đ
Can someone explain how to solve this. Itâs really confusing and these are the problems I struggle most with. Canâ get a good grasp on it. What is the output of this code? Int c=0; If(c) printf(â%dâ,c=0); else Printf(â%dâ,c=1) printf(â%d\nâ,c)
5 Answers
+ 2
%d is used to format the output in C programming language.
If we want to print an integer, we use %d. It is called a format specifier.
The code attached with the post also has the explanation. I hope it helps :)
https://code.sololearn.com/cx2974w5Tmue/?ref=app
+ 2
thanks really appreciate the helpđđđ
+ 1
Use relational operators ! (c==0) That makes more sense IMHO đ€
0
hey i was wondering if u want to try get a victory royale some time thanks