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

Will the following program execute?

565


Explain what is polymorphism in c++?

632


What is the basic of c++?

611


What is c++ good for?

591


What is operators in c++?

572






What's the order in which the objects in an array are destructed?

865


What is low level language in simple words?

569


What is stack unwinding?

613


What are guid?

692


What are references in c++?

668


What is the difference between the compiler and the preprocessor?

621


Why c++ does not have finally?

598


what is c++

1808


how to connect with oracle 9i with server in socket program in c/c++

1853


What are the benefits of c++?

574