what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / tarun
c is a computer pragraming language
c++ is the more depper than computer programming
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vipin
c is the procedural oriented programming(POP).
But,
C++ is an object oriented programming(OOP).
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prathyusha
c++ supports the over loadind function which is not
supported in c programming
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anusha
C is a general purpose and structured programing language,where as c++ is object oriented.
In C we wont use classes,where as c++ called as c with classes
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / fahim uddin shaown
The namespace features in c++ is absent in case of c.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jatin gupta
The main difference in c & c++ is that.....
c language is a procedure oriented language where as
c++ is a object oriented language!!!
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jagan
c is a procedural programmiing language and c++ is object
oriented language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / parthipan
1.C is structured language.
2.C is top to bottom apporach.
3.C does not support data hiding ,so there is no security
for data
4.c++ is object oriended programming language
5.c++ is bottom to top apporach
6.we can divided the big program into small logical unit.so
we can create seperate object for each module.
7.In c++ the access specifier private,public,protected are
used to handle the data for more security.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sarath
c is a procedural programming and c++ is an object oriented
programming.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sum1
Depending on the data we can design the program in c++..it means bottom to top approach.
In c depending on the function or variables we can design the data.. it mean top to bottom approach
| Is This Answer Correct ? | 0 Yes | 0 No |
What is polymorphism? Explain with an example.
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Which type does string inherit from?
What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required
what is ltti
WAP find square root of any number (without using sqrt() )?
what is mean by design pattern
Write on signed and unsigned integers and give three (3) examples each
difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help
what is virtual function?
26 Answers Aspire, HP, Infosys, RoboSoft, TCS,
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,
write a programe to calculate the simple intrest and compund intrest using by function overlading