0
Can you explain it?
int i=2,j=1,k=3; int w,q,r; w=i,j,k; q={i,j,k}; r=(i,j,k); cout<<w<<q<<r;
2 Answers
0
it doesn't work.
error: cannot convert â<brace-enclosed initializer list>â to âintâ in assignment
q = {i, j, k};
error: cannot convert â<brace-enclosed initializer list>â to âintâ in assignment
q = {i, j, k}
error: expected â}â before â;â token
q = {i, j, k;}
error: expected â}â before â;â token
q = {i, j, k;};
0
this was asked in one quiz in sololearn