0
How to print a "hello world" statement in C without using semicolon?
9 Antworten
+ 2
Heroic Timber 😂
then change main() to void if you want
and remove return statement.
+ 1
Heroic Timber that is undefined behaviour as technically you're putting a function without a return value into an if statement but technically you're correct
+ 1
you did use a semicolon for returning the value to 0 Nikhil Dhama 😂
+ 1
Nikhil Dhama yep gotcha! that's right
0
without a semicolon the program will not compile, so there is no way.
0
There's more than 3 ways hinanawi
0
Heroic Timber very well, enlighten me