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 |
What are the advantanges of modularity
what is multithreading in c++ , what is difference between multithreading and singlethreading.
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is oop in simple words?
What is abstraction example?
The type of variable a pointer points to must be the part of pointer's definition so that:
What is object and example?
What is for loop and its syntax?
What is overriding in oop?
What is meant by oops concept?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }