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...


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

Can char be a number c++?

0 Answers  


What is the difference between *p++ and (*p)++ ?

0 Answers  


Why #include is used?

0 Answers  


What is Memory Alignment?

2 Answers   TCS,


1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?

5 Answers  


What is the use of static functions?

10 Answers   Symphony,


Write a program which employs Recursion

0 Answers  


Define copy constructor.

0 Answers  


throw Can constructors exceptions?

1 Answers  


Explain the difference between abstract class and interface in c++?

0 Answers  


What is an adaptor class or wrapper class in c++?

0 Answers  


What is an object in c++?

1 Answers  


Categories