what is the main difference between c and c++?
Answer Posted / ashish kumar
string variable take four bytes in c++ .whereas in c string
variable takes 3 bytes
c++ use bottom up approach to solve a problem.and c uses top
down approach to solve the problem.
c breaks the big problem into sub problems by using
procedures and function and then solve that.c++ combine the
small problems and then make it to be a solution.
| Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
What is an example of genetic polymorphism?
What is purpose of inheritance?
how to get the oracle certification? send me the answer
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
How Do you Code Composition and Aggregation in C++ ?
What is encapsulation and abstraction? How are they implemented in C++?
What is inheritance and how many types of inheritance?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Why do pointers exist?
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.
Whats oop mean?
What is difference between polymorphism and inheritance?
What is inheritance write a program to show use of inheritance?
What is abstraction and encapsulation?
What are the advantages of polymorphism?