0
how to do it?
I want to know int a=(1,2,3,4,5) progress Is it possible? does it cause some error? and how it progress? 5 is stored in a? then where is 1,2,3,4? Also I didn't even learn this, but It has shown up at play. https://code.sololearn.com/cIz39aQ8FS1I/?ref=app
6 Answers
+ 3
Follow the link đ
https://www.geeksforgeeks.org/comna-in-c-and-c/
+ 2
then 1 to 4 have not effect on a?
I don't understand why this kind of question is in play? section.
+ 1
Comma operand has no effect on store data on at built-in data type..
Ony single value last can be stored..
+ 1
thx now I see
+ 1
In python there are generator functions for this. Maybe c++ has similar stuff.