+ 1
How to print Hellow World without using any semi colon
int main () { if ( cout <<"Hello world"; ) } https://code.sololearn.com/cnx14ATqG52S/?ref=app
7 Answers
0
i have already given the answer just see the attach code
+ 3
I have a java variant :)
https://code.sololearn.com/cqKJ68WjVdlZ/?ref=app
+ 2
that's not possible semicolon is used for closing the process .
+ 2
the right way is
https://code.sololearn.com/c87HQ52mdubU/?ref=app
+ 2
@Ethan, try Hassans code, it works, without ; It is a trick of course and not recommended I guess.
+ 1
really