what is the main difference between c and c++?
Answer Posted / gaurav jatwani
in c we use modifiers for scanf and printf
in c++ we don't use any modifiers
in c we have no protected access specifier
in c++ we have
in c we have no constructor and distructor
in c++ we have constructor and distructor
in c we cann't delcare variables any where
in c++ we can declare variables any where
in we have no INLINE AND FRIEND function
in c++ we have both
in c we use & operator in scanf for storing value in
variable ex:- ( scanf("%d",&age); )
in c++ we need not to use any operator to store value in
variables
GAURAV JATWANI
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what's the basic's in dot net
Why do we need polymorphism in c#?
What are the data types in oop?
What is and I oop mean?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
i got a backdoor offer in process global,Bangalore..Can i work with it?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Why is abstraction used?
what is graphics
What is advantage of inheritance?
What is the advantage of oop over procedural language?
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 type of questions
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.