Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


what are difference between c and c++?

Answers were Sorted based on User's Feedback



what are difference between c and c++?..

Answer / srinath

C : is the Structured Based Programming language
C++ : is the Object oriented programming language

Is This Answer Correct ?    58 Yes 3 No

what are difference between c and c++?..

Answer / ramya.p

In c++, function can call through object except friend
function . But in c ,their is necessary

Is This Answer Correct ?    16 Yes 9 No

what are difference between c and c++?..

Answer / jaz

C++ is not an object based language. It is an object
oriented language. An object based language + Inheritance +
polymorphism makes a language object oriented.

Is This Answer Correct ?    6 Yes 0 No

what are difference between c and c++?..

Answer / sindhu

In C++, data and functions are related to each other.
And data hiding is possible in C++ using access specifiers.

Is This Answer Correct ?    5 Yes 0 No

what are difference between c and c++?..

Answer / krishnaveni

In C, emphasis is given to code rather than data. That is,
Code controlling access to data".
In C++, emphasis is given to data. That is, "Data
controlling access to code"

Is This Answer Correct ?    3 Yes 0 No

what are difference between c and c++?..

Answer / sachin sonawane

1. C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented)
2. In case of C, the data is not secured while the data is secured(hidden) in C++
3. C is a low-level language while C++ is a middle-level language (Relatively, Please see the discussion at the end of the post)
4. C uses the top-down approach while C++ uses the bottom-up approach
5. C is function-driven while C++ is object-driven
6. C++ supports function overloading while C does not
7. We can use functions inside structures in C++ but not in C.
8. The NAMESPACE feature in C++ is absent in case of C
9. The standard input & output functions differ in the two languages
10. C++ allows the use of reference variables while C does not

for more information u can contact me on my E-mail ID miswarit@gmail.com

Is This Answer Correct ?    1 Yes 0 No

what are difference between c and c++?..

Answer / hardik

C++ is simply an advanced version of C as name itself
indicates.. However, nodoubt, C++ is object based
programming however C is procedure based...

Is This Answer Correct ?    3 Yes 3 No

what are difference between c and c++?..

Answer / sharad

c is structured programming language, but c++ is object
oriented language.c support the local variable but c++
support the global variable through (sro).in c change the
constant value through pointer but not in c++. in c declare
the method before executable statement but in c++ declare
any where.

Is This Answer Correct ?    0 Yes 1 No

what are difference between c and c++?..

Answer / dips

everything is C ,c++ is only a easier way to handle C,we
have to write some codes to get C++ from C ,i just want to
say that some codes are already written and those are made
keyword inC++

Is This Answer Correct ?    1 Yes 8 No

Post New Answer



More C++ General Interview Questions

Why is c++ so fast?

0 Answers  


Can we distribute function templates and class templates in object libraries?

0 Answers  


Write a program to interchange 2 variables without using the third one.

0 Answers  


i want the NIC programmer-B model papaer pattren, iwant the all model papers?

15 Answers   NIC,


What type of question are asked in GE code writing test based on c++ data structures and pointers?

0 Answers  






What is a modifier in c++?

0 Answers  


Define Virtual function in C++.

0 Answers   iNautix,


Which is better turbo c++ or dev c++?

0 Answers  


Explain terminate() and unexpected() function?

0 Answers  


What are keywords in c++?

0 Answers  


Which bit wise operator is suitable for putting on a particular bit in a number?

0 Answers  


If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2.

1 Answers  






Categories