0

Print a statement on console with out using a semicolon at the end of if statement.

if we want to print something on console we will use cout<<"with semi colon"; i don'twant that semi colon at last but i need output on console

12th Mar 2017, 12:03 PM
Swamy Kanuri
Swamy Kanuri - avatar
1 Réponse
+ 1
Try this: if (cout << "without semicolon") {}
12th Mar 2017, 5:40 PM
Igor B
Igor B - avatar