0

why didnt it compile with variable a=100 and after it a=50 was written ......and the output was 50 .....

we have to specify it or not ?

17th Jul 2016, 6:25 PM
Sam Jorda
Sam Jorda - avatar
1 Antwort
0
you have to specify the type of the variable, in your case: int a=100; type "int" couse you're using "a" to almacenate an integer wich is 100 .
17th Jul 2016, 6:41 PM
Hector Sulbaran
Hector Sulbaran - avatar