how does a main() in C++ is different from main() in C?

Answer Posted / seetha

hello kunal... ur answer was simply wrong..
becoz in both c and c++ also if v use like int main() and
the absence of return 0;
will give only warning message to us... i just complied and
telling this...
if u want to check me... you just compile in both the
language and tell......
without knowing answers pls dont update urself....

Is This Answer Correct ?    29 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class in oop?

677


What does sksksk mean in text slang?

1687


write a C++ program for booking using constructor and destructor.

2128


What is persistence in oop?

746


How do you achieve runtime polymorphism?

646






What is overloading and its types?

703


What is polymorphism in oops with example?

639


What is overloading in oops?

703


What is the main purpose of inheritance law?

764


What polymorphism means?

703


How oops is better than procedural?

675


Where is pseudocode used?

645


What is polymorphism what are the different types of polymorphism?

648


What is overriding in oop?

649


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2037