How definition variables in c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How definition variables in c++?

13th Jul 2017, 3:56 PM
Hossein Shirgahi
6 Answers
+ 2
thanks
13th Jul 2017, 8:20 PM
Hossein Shirgahi
+ 2
your welcome
13th Jul 2017, 8:22 PM
Shervin Jarrahi
Shervin Jarrahi - avatar
+ 2
thanks
14th Jul 2017, 3:25 PM
Hossein Shirgahi
+ 1
#define somthing 2 now if you type: cout << something; it will print 2 your define must be before the main () function
13th Jul 2017, 8:17 PM
Shervin Jarrahi
Shervin Jarrahi - avatar
+ 1
"int x;" defines una variable tipo entero :(
15th Jul 2017, 12:00 AM
Gs Ibrahim
Gs Ibrahim - avatar
+ 1
Veriables are uaed to store information or values
18th Jul 2017, 9:08 PM
umer javed
umer javed - avatar