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
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
Which is best ide for c++?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
What is while loops?
What is #include sstream?
What are c++ data types?
What is polymorphism in c++? Explain with an example?
Can a program run without main function?
Why use of template is better than a base class?
What is a multimap c++?
What do you mean by function pointer?
What is the difference between structures and unions?
Explain class invariant.
What is problem with overriding functions?