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

Answer Posted / rayn

#define SEMICOLON ;

int main()
{
cout << "Hello World!\n" SEMICOLON
return 0 SEMICOLON
}

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the problem with overriding functions

681


What is the header file for setw?

687


Can member functions be private?

673


Define a pointer to a data member of the type pointer to pointer?

661


How the virtual functions maintain the call up?

699






What are arrays c++?

726


What is iomanip c++?

685


What is rtti in c++?

709


What is Destructor in C++?

765


Define stacks. Provide an example where they are useful.

676


What kind of problems can be solved by a namespace?

693


What are pointers used for c++?

671


You want to link a c++ program to c functions. How would you do it?

623


What's the most powerful programming language?

677


Why is c++ a mid-level programming language?

692