+ 1
write a program without using semicolon....??
14 ответов
+ 2
#include<stdio.h>
void main()
{ if(printf("hello"){}
}
//it will print hello u can check also without any semi colons
+ 2
#include<iostream>
void main()
{
}// nothing to display
+ 1
why?
+ 1
@santosh kumar your program is not working it shows error
+ 1
It's error becus compiler of this program isnt support for void main
+ 1
I had mention c also in tags not really from c++
+ 1
with <stdio.h> library yes you can
+ 1
main()
{
if (clrscr() && printf("your name gose here.") && getch())
{ }
}
just try once, that's it.
0
its possible
0
I think you mean create program such as ummmm Maybe this is test question
0
So code must be like this
#include<stdio.h>
int main()
{ if(printf("hello")){}
}
/*prinf is from c not c++ and if one function no need to use semicolon*/
0
Roger that :D.You made the question That we skip.that is semicolon
0
great question Santosh Kumar bro..