Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the main difference between c and c++?

Answer Posted / kanteshwar

1)In c we can not write function inside structure but in c++
function is inside the structure.

2)C language is not flexible means if tomarow logic changes
and program is large it is more difficult to change the
logic but c++ is flexible it providing the feature like
Inheritance.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading and its types?

1180


What is abstraction and encapsulation?

1022


What is difference between data abstraction and encapsulation?

1086


What is encapsulation in oop?

1055


Whats oop mean?

1054


What is polymorphism what is it for and how is it used?

1023


What is abstract class in oop?

1014


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1244


What are the three main types of variables?

1130


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4752


Is data hiding and abstraction same?

1048


What is object in oop?

1122


What is constructor overloading in oop?

1139


Can a varargs method be overloaded?

1112


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3534