can anybody please tell me how to write a program in
c++,without using semicolon(;)

Answer Posted / anonymous

#include<iostream.h>
void main()
{
}

/*this is also a c++ prog.it is never said dat main body
cannot be empty*/

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you write a function similar to printf()?

875


What is setf in c++?

833


What are shallow and deep copy?

845


What are the two types of comments, and how do they differ?

786


To what does “event-driven” refer?

826


Which is most difficult programming language?

788


Why is main an int?

745


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

840


How to access a variable of the structure?

783


What are put and get pointers?

834


What is the difference between #import and #include?

779


Is swift a good first language?

785


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

809


What is the use of class in c++?

784


What is the best c c++ compiler for windows?

770