what is the main difference between c and c++?
Answer Posted / rajan bajlalia pathankot
C Is very easy language. and c++
is very hot languege. c is procedural programming language.
and c++ is object oriented languege. c language is used by
main(). and c++ is used by viod main(). c is used by
#<include.h> and c++ is used is A#include<iostreame>.
c is printf/scanf used by output/input.c is a topdown
approach while c++ is bottom up approach.C++ support
operator overloading but c doesn't
support
operator overloading.C is a LOW level language.
C++ is a HIGH level language.we have used by c is
semicolom. and c++ is not used by semicolom. c is length
programming and c++ is not length programming.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How do you define a class in oop?
What is the important feature of inheritance?
What is difference between pop and oop?
write a program that takes input in digits and display the result in words from 1 to 1000
What do you mean by abstraction?
What is overriding in oops?
Why is static class not inherited?
Why do we need oop?
What is multilevel inheritance?
What is difference between oop and pop?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Can abstract class have normal methods?
How is class defined?
How long to learn object oriented programming?
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?