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

Answer Posted / nishit patel

C is structure programming language and c++ is object oriented programming langauge ;
c is middle level language and c++ is high level language

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2172


What is the main purpose of inheritance law?

673


What is polymorphism give a real life example?

565


What is the highest level of cohesion?

581


Why do while loop is used?

579






They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1412


What is a class oop?

594


What does <> mean pseudocode?

625


What is the oops and benefits of oops programming?

558


What is encapsulation and abstraction? How are they implemented in C++?

639


How is class defined?

588


write a programe to calculate the simple intrest and compund intrest using by function overlading

1671


How do you define a class in oop?

631


What is interface? When and where is it used?

1666


What is polymorphism and why is it important?

562