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
1 Answer
+ 1
Try this:
if (cout << "without semicolon") {}