0
Variables
int a = 10; int b = a; cout<<âa+bâ<<endl; // displays 20; why does there have to be an âendlâ since its a single statement. Is this alternative wrong?[ cout<<âa+bâ ; ]
4 Answers
+ 2
Nicholas Amponsah you just need to put the endl if you want the cursor to jump to the next line after printing the result.
0
Ulisses Cruz thank you, i do know that. All I wanna know is does this coding necessarily have to be the one above
0
Hi I wont , JS is fun ,this code
- 2
Hello am iranian and my language is parsian