New course! Every coder should learn Generative AI!
Try a free lesson+ 1
what is the the output and how the code snippet works?
i=(2,3,4); printf("%d",i);
1 Answer
+ 2
You can assign a variable with only one value. If there is more than one value last is used, I.e. 4. So output is 4.