what is the main difference between c and c++?
Answer Posted / akash
c is a procedure programing language
c ++ is a object oriented language
c++ support various features such as data hiding encapsulation, templates, overloading etc dis features are not there in c.
in c focus is given on function where as in c++ focus are given to data.
maintains of large softwares are not possible in c
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is multilevel inheritance?
What is encapsulation and abstraction? How are they implemented in C++?
What does it mean when someone says I oop?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
can inline function declare in private part of class?
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 overriding in oop?
What are the advantages of polymorphism?
How is polymorphism achieved?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What does and I oop mean in text?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What are the components of marker interface?
what is different between oops and c++
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory