whats the difference between c and c++

Answer Posted / siva

so many we can say but the main difference is
C is structured oriented where as
C++ is object oreiented

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a c++ program to display pass and fail for three student using static member function

2813


Can an interface inherit a class?

557


What does <> mean pseudocode?

620


Why is abstraction used?

603


Get me an image implementation program.

1557






What is object and class in oops?

586


What is encapsulation in simple terms?

535


What does and I oop mean in text?

620


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1637


What is encapsulation selenium?

554


What is coupling in oop?

592


Why is object oriented programming so hard?

616


What is the difference between inheritance and polymorphism?

586


#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

2164


What is a class oop?

592