0
How we can print hello without use of semicolon in the programme?
3 Answers
+ 2
#include <iostream>
using namespace std;
int main() {
if(cout<<"hello"
)
return 0;
}
+ 2
#include <iostream>
using namespace std;
#define s ;
int main() {
cout<<" something" s
return 0;
}
0
I think it is not possible because every line after main function must end with a semicolon