what is the main difference between c and c++?
Answer Posted / namrata gupta
The main difference between c and c++ is that " C is a
structured programming language while C++ is an object
programming language and also we have templates in C++ that
is not the case in C
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of polymorphism?
How to hide the base class functionality in Inheritance?
What is destructor give example?
How is class defined?
Can main method override?
What is stream in oop?
what is different between oops and c++
How do you define social class?
Why multiple inheritance is not possible?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is polymorphism explain?
What is encapsulation with real life example?
Write a program to reverse a string using recursive function?
What is an example of genetic polymorphism?
What is new keyword in oops?