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

Answer Posted / shivam

in c++ this approach is based on the concept of clint server model . the class definition including the member functions cositute the server that provides services to the main() main function program in c the program starts from main()

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can inline function declare in private part of class?

3786


Why is oop useful?

699


what's the basic's in dot net

1812


Explain virtual inheritance?

780


Which is not an object oriented programming language?

625






What is constructor in oop?

690


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1736


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1668


• What are the desirable attributes for memory managment?

1824


What is the main feature of oop?

747


What is object and class in oops?

682


What is abstraction in oops with example?

874


officer say me - i am offered to a smoking , then what can you say

1683


when to use 'mutable' keyword and when to use 'const cast' in c++

1742


What is an example of genetic polymorphism?

750