what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / sreenivasulu reddy
c is not object oriented but c++ is object oriented
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vijay bhaskar(vbit).k
c language is a procedural language.it is also one of the
best language for designing of operating systems and
databases.but c language can not give the secure for
programs when compare to c++.
c contain functions and it can not overridden.
c language extension of c++.
c++ follows oops principles and give more security better
then c language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / perumalla.naveen kumar
in c after using the main function we can declare the variables.
in c++ before using the main function we can declare the variables.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / iswarya
c is a topdown aproach, C is function or procedure oriented
c++ is a buttom of aproach ,C++ is object oriented
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jaimin patel
Topic for c:-
1.c is the top down approch.
2.c is the procedure oriented programming language.
3.in c we use as input funtion printf & scanf.
4.c dose not have a class and object.
5.in c we can not overload the function and operatore.
TOPIC FOR C++:-
1.C++ is the bottom to up approch language.
2.c++ is object oriented language.
3.in c++ we use as input function c0ut<< & cin>>.
4.c++ have a class and object.
5.in c++ we can overload a function and object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gaurav pathak
c is a middle level language(high level with low level
features)while c++ is high level language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mohd rehan
i read some que. from other site.the over all conclusin of
this c++ is object oriented lang.so it implement easily on
real world thing but c can not implement on real world thing...
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kalaiselvi.t
C is not support operator overloading.But C++ support
operator overloading.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / manju kumari
1. c is structured programming languages while c++ is
partially object oriented programming languages.
2. In c,main function could not return a value while in c++
,main function should return a value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / venkatrao
c is procedural programming language while c++ is object oriented language.The main difference is in c++ having reusability and security(because it is object oriented) while
c does not.
| Is This Answer Correct ? | 0 Yes | 0 No |
write a program that takes input in digits and display the result in words from 1 to 1000
What is encapsulation with example?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
What is object and example?
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.
What is inheritance write a program to show use of inheritance?
what is the new version of c++
1 Answers Ignou, Pramata, Satyam,
Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?
how to tackle technical questions
Can an interface inherit a class?
Difference ways of Polymorphism?
Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3
3 Answers Accenture, Cognizant, IBM,