Why Pointers are not used in C Language. What are the main differences between C and C++

Showing Answers 1 - 17 of 17 Answers

Rishi

  • Jan 25th, 2006
 

Hi ,

For information pointer in c is stronger than that wat could be used in c++. The main diff between c and c++ is

it a character based programming lang where as c++ is object oriented. there is more emphasis on class and object etc  but in c its just a charc which is given importance. c++ is an upgraded version of c which has features such as inheritance, polymorphism, etc

  Was this answer useful?  Yes

Difference between c & c++ is that

c uses bottom-up approach, i.e it needs to declare all the variables & functions used at the start of the program. data and object are not bind properly.

c++ uses top-down approach, no need for declaration at start of program. binds data & object using encapsulation. c++ provides extended features( oop concepts)

  Was this answer useful?  Yes

Arunangshu saha

  • Jun 5th, 2006
 

Pointer is a strong part of C....................

          there are lot of difference between C , C++.....

       data abstruction, inheritence,polymophisum etc,,,,,,is not facilatted by c.

     

  Was this answer useful?  Yes

bappa

  • Jun 5th, 2006
 

Pointer is a strong part os c..

lot of diff in c and c++ data encapsulation,inheritance,polymorphisum etc is not facillated by C...

  Was this answer useful?  Yes

ndarshan

  • Oct 24th, 2006
 

I am afraid if i could accept "Arunangshu saha"...bcozin c i can get the feature of 1. polyforphism using pointers to the function and obtain compile time polymorphism but cant get runtime poly morphism.2.Using stucts i can get the feuture of inheritace.The diff in this sence is tht its easier to use the feauture already availavable in c++...but in C u need to estabish the feauture first and then make use of it.Let me know if iam wrong just mail me atdarshan_2004 rediffmail.com

  Was this answer useful?  Yes

srinivas

  • May 7th, 2007
 

Pointer are the main advantages of C. Who told you that pointers are not used. They are not commonly used because that they are not so easy to access. They are very difficult to access and use in programing. They can't be easily adjustible.
Any one is master in C, he must be master in using pointers. The efficiency in C depends only on pointer knowledge.

  Was this answer useful?  Yes

niraj1627

  • Sep 30th, 2007
 

Pointers r strong features of c..the main difference of c&c++ is that c is not Object oriented programming language but C++ is....
c is top to buttom but in c++ it is buttom to top ap approach....

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions