What are the valid types of data that the main () can
return in C/C++ language

Answer Posted / umashankar mishra

c returns int data type
whereas c++ return void

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give two or more real cenario of virtual function and vertual object

1851


Prepare me a program for the animation of train

1999


Is html an oop?

581


What is polymorphism in oop example?

515


Why is abstraction needed?

567






Why is encapsulation used?

577


What is destructor give example?

603


What is the diamond problem in inheritance?

578


Can an interface inherit a class?

559


State what is encapsulation and friend function?

699


Which language is pure oop?

551


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3555


Why do we need oop?

671


Why we use classes in oop?

581


Are polymorphisms mutations?

702