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

Answer Posted / anitha

There is no dynamic declaration in c whereas in c++ dynamic
declaration is possible.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a c++ program to display pass and fail for three student using static member function

3073


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2356


What is abstract class in oops?

759


What is polymorphism in oops with example?

750


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1793


Write a program to reverse a string using recursive function?

2011


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2796


Why do we use class in oops?

740


What is the example of polymorphism?

736


What does and I oop mean in text?

837


What is the purpose of polymorphism?

864


What is difference between polymorphism and inheritance?

800


Templates mean

1816


What is the types of inheritance?

786


What does sksksk mean in text slang?

1814