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

Answer Posted / satyajith srinivas

IN c-programe the main function could not return a value
but in the c++ the main function shuld return a value

Is This Answer Correct ?    887 Yes 1178 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is constructor overloading in oop?

599


Are polymorphisms mutations?

693


what type of question are asked in thoughtworks pair programming round ?

1756


What is the main purpose of inheritance law?

667


Which type does string inherit from?

608






What are the three parts of a simple empty class?

1452


Why multiple inheritance is not allowed?

581


What is difference between polymorphism and inheritance?

615


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

1982


write knight tour problem which is present in datastructure

2160


Can you explain polymorphism?

576


What are benefits of oop?

631


What is class encapsulation?

584


Why do we use oops?

589


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6483