difference between the c++ and c languages

Answers were Sorted based on User's Feedback



difference between the c++ and c languages ..

Answer / thana_8889

c has no object but c++ has object
c topdown approach c++ bottom up approach
c cannot be overloading c++ we can do
c is the subset of c++

Is This Answer Correct ?    15 Yes 0 No

difference between the c++ and c languages ..

Answer / raj&

<c is based pop principals
>c++ is based oops principals
<(<c
>c++)

Is This Answer Correct ?    1 Yes 0 No

difference between the c++ and c languages ..

Answer / achal

c++ is quite different from c. Here I add to above answer.
1. C++ has more rigid typecasing rules while c does not.
2. In C, structure copy is not permissible while most c++
compilers provide default copy constructors.

Is This Answer Correct ?    3 Yes 3 No

difference between the c++ and c languages ..

Answer / jaya

in c data hiding is not possible and we have to write
complete program at a time.whereas in c++ data hiding is
possible and one can divide a huge program into certain
small programs later combine it into one as per one's
choice.moreover we hav header file different.eg:<stdio.h>
in c supports printf & scanf statements while <iostearm.h>
in c++ supports cout statements......

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain the scope of resolution operator.

0 Answers  


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

0 Answers  


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

0 Answers  


In what situations do you have to use initialization list rather than assignment in constructors?

0 Answers  


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

0 Answers  






Is map sorted c++?

0 Answers  


Is c++ a high level language?

0 Answers  


Describe the advantages of operator overloading?

0 Answers  


What is the stack?

5 Answers   IBM, ICICI,


Explain explicit container.

0 Answers  


What is heap sort in c++?

0 Answers  


i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem

1 Answers   Reliance,


Categories