+ 2
How can i assign a saying to a variable while the program is running. Example. a=pumpkin; b=sky;
assigning valuables
2 Respuestas
+ 3
Not sure if this is what you are looking for.
char[] pumpkin = "My pumpkin is carved."
char[] sky = "The sky has a red tint."
char* a;
// some stuff
a = pumpkin;
// other stuff
a = sky;
0
cin>>variable;