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

Why is oop useful?

608


What does oop mean in snapchat?

697


Describe these concepts: Polymorphism, Inheritance and Abstraction.

622


What is the example of polymorphism?

564


what's the basic's in dot net

1746






Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3559


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

645


What is the main purpose of inheritance law?

677


What is abstraction in oops?

596


Can main method override?

591


How do you use inheritance in unity?

595


What is constructor in oop?

593


What are the 3 principles of oop?

624


What does no cap mean?

600


write a program that takes input in digits and display the result in words from 1 to 1000

1995