can anybody please tell me how to write a program in
c++,without using semicolon(;)
Answer Posted / jasbir singh
void main()
{
if(0)
{
}
}
if you use void with main function, you have no need to
return a value.
| Is This Answer Correct ? | 16 Yes | 4 No |
Post New Answer View All Answers
Does c++ have finally?
Can we define function inside main in c++?
How do I get good at c++ programming?
What is a tree in c++?
Are c and c++ different?
What is c++ namespace?
What kind of problems can be solved by a namespace?
Describe about storage allocation and scope of global, extern, static, local and register variables?
Explain shallow copy?
What is difference between class and structure in c++?
Explain how the virtual base class is different from the conventional base classes of the opps.
How is static data member similar to a global variable?
What methods can be overridden in java?
What are friend classes?
How can virtual functions in c++ be implemented?