what is the main difference between c and c++?
Answer Posted / g.dhanalakshmi
1)C program supports top-down approach, but c++ program
supports bottom up approach.
(Explanation) If we need to compile c/c++ program, the
compiler first goes to main()function, In c++ we start with
class and main() function is at the bottom.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What type of loop is a for loop? Write a program to implement OOPS concepts such as
inheritance, polymorphism, friend function, operator
overloading? What is debug class?what is trace class? What differences are between them? With examples. What is class encapsulation? What is difference between polymorphism and inheritance? explain sub-type and sub class?
atleast u have differ it into 4 points? When not to use object oriented programming? What is polymorphism and types? Do you know about multiple inheritance? Is data hiding and abstraction same? What is the real time example of encapsulation? What is the point of polymorphism? What is inheritance in simple words? Why multiple inheritance is not possible?