what is the main difference between c and c++?
Answer Posted / manasa
c is an object based language,n top to bottom approach,main
() has not return value, no overloading operations.
where as in c++,its an object oriented language,n bottom to
top approach,main() has a return value,overloading happens.
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What is the main purpose of inheritance law?
What is the diamond problem in inheritance?
Why do we use polymorphism in oops?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
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 are the different types of qualifier in java?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is byval and byref? What are differences between them?
What is persistence in oop?
What is overriding vs overloading?
Can enum be null?
What is constructor overloading in oop?
What are the benefits of interface?
What causes polymorphism?
Can we create object of abstract class?