closed by
227 views
0 votes
0 votes
closed as a duplicate of: Test series
the output of the following problem?

main()

{

  int a=1,b=2,c=4;

  printf("%d",a+=(a+=4,10,a));

}

 

Explain?
closed by

Related questions

2 votes
2 votes
2 answers
1
nish kim asked Aug 31, 2017
6,125 views
#include <stdio.h>int main(){int a=1 , b=3;a += b -= a-=b;printf("%d %d",a,b);}what is the output ?a. 3 4b. 3 5c. 2 4d. compilation fails
0 votes
0 votes
1 answer
2
radha gogia asked Aug 10, 2015
393 views
CASE A: CASE A: &#8234;#&lrm;include&#8236;<stdio.h int divide( int a, b) { return 7; } int main() { int a=divide(8,3); printf("%d",a); return 0; }CASE B :CASE B : #inclu...
0 votes
0 votes
0 answers
3
Ajitesh Mandal asked Apr 3, 2017
381 views
What is the output of the program?? I think the output should be 2 2 1 . But on running the program gives the output 2 3 3 . Pls explain why that output 2 3 3 in details ...