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

Answer Posted / bhanu

in c main() is a function, in c++ main() a class

Is This Answer Correct ?    8 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is multilevel inheritance?

719


write a program that takes input in digits and display the result in words from 1 to 1000

1982


What makes a language oop?

591


Why is polymorphism important in oop?

629


What is meant by multiple inheritance?

732






Explain virtual inheritance?

680


Is data hiding and abstraction same?

565


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3817


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1662


What language is oop?

591


What is oops with example?

560


Can you name some types of inheritance?

637


What is abstraction encapsulation?

653


How to use CMutex, CSemaphore in VC++ MFC

4324


What do you mean by overloading?

576