+ 4

int i=1,2,3 ; printf ("%d", i) ; int x; x=1,2,3 ; printf ("%d", x)

What is the output?

24th Oct 2019, 4:39 AM
Rishabh Gupta
Rishabh Gupta - avatar
3 Respostas
+ 7
Hello, 😊 If you need help, you can post the code you're struggling with!  • SEARCH for similar QUESTIONS or ANSWERS before posting  • Include relevant TAGS  • https://www.sololearn.com/post/75089/?ref=app
24th Oct 2019, 7:24 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 5
No for i it is showing error and for x output is 3. But why not 3 for i?
24th Oct 2019, 5:20 AM
Rishabh Gupta
Rishabh Gupta - avatar
+ 3
Rishabh Gupta Please don't use the question title to write codes. Use title to briefly describe the question only, write the code in Description. But for big codes you need to save it and put the code link instead. P.S. You could've also explained the doubt you wrote about error for <i> assignment in Description to add clarity 👍
24th Oct 2019, 6:39 AM
Ipang