what is the difference between c and c++?

Answer Posted / rajasekhar

cpp is an object oriented programming language

c is a procedural oriented programming language

cpp is more flexible to use in real time environment

c is not flexible

cpp structures can allow functions where as c doesnt allow functions in its structures

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2268


Which is better malloc or calloc?

649


What is the purpose of 'register' keyword in c language?

627


What is auto keyword in c?

787


Do array subscripts always start with zero?

780






What is gets() function?

667


What is the difference between exit() and _exit() function?

601


What is the general form of function in c?

608


What is the meaning of 2d in c?

611


Is null a keyword in c?

732


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1726


What standard functions are available to manipulate strings?

560


Is exit(status) truly equivalent to returning the same status from main?

585


Which header file is essential for using strcmp function?

936


How to declare a variable?

569