what is the main difference between c and c++?

Answer Posted / g.santhoshini

In c there is a limit for length of identifier should not
preceeded more than 8 characters where as in c++ there is no
limit for length of identifiers.
and in c the file is saved with the extension .c ,in c++ the
file extension is .cpp.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does <> mean pseudocode?

624


What is encapsulation in oops?

541


can we make game by using c

3433


What language is oop?

597


What is difference between polymorphism and inheritance?

621






How to hide the base class functionality in Inheritance?

640


What is the difference between static polymorphism and dynamic polymorphism?

587


What is inheritance and how many types of inheritance?

623


What is difference between oop and pop?

620


What is encapsulation and abstraction? How are they implemented in C++?

639


What is the oops and benefits of oops programming?

558


Why we use classes in oop?

585


Which is not an object oriented programming language?

544


What are the advantages of polymorphism?

577


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1643