what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / rokesh
very simple. C++ is actually named as C with classes.. It
makes use of classes.. thats all the difference
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / anhr computer education
In 'C' header file is optional but in C++ header file is
compulsory and cannot be ignored.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / aliraza
c language could not any return value and c++ return value
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / cyber warrior
C is containing single character but "c++" contains three
characters
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / divya
c is an object oriented and c++ is procedure oriented
| Is This Answer Correct ? | 7 Yes | 9 No |
Answer / ankit agarwal
main difference c++ is an increment version of c language.
in written program c++ is more easy than c.c++ is easily
understand.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / nmreddy
c is procedure oriented language c++ is object oriented language
c and c++ not secured data
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / nmreddy
c++ is a high level language
c is high level and low level language
| Is This Answer Correct ? | 1 Yes | 3 No |
What is destructor give example?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort
how to tackle technical questions
What does and I oop mean in text?
What do you mean by inline function?
Which language is pure oop?
What does and I oop mean?
What is difference between #define and const?
Can you name some types of inheritance?
What is polymorphism in oops?
Is html an oop?
some one give d clear explanation for polymorphism