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

Answer Posted / krushna priya nath

A function can be declared in C as int fun();. This means
that fun()is a function without any argument or any number
of arguments.But in C++, this means that the function with
no argument at all.

Is This Answer Correct ?    613 Yes 267 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are classes oop?

783


What is an interface in oop?

768


Which method cannot be overridden?

754


Why is polymorphism important in oop?

800


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1856


What is polymorphism give a real life example?

753


Whats is abstraction in oops?

822


Why do we use class in oops?

740


How do you explain polymorphism?

784


Why do we use oops?

749


What is meant by oops concept?

776


What are the three main types of variables?

815


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!!!)

1835


What is abstraction in oops with example?

980


What is difference between polymorphism and inheritance?

801