what is the main difference between sizeof() operator in c
and c++

Answer Posted / rajeswari sethu

hi guys..........i don't know correct ans but i think both r
same because c++ is invented by c and their datatypes has
same bytes so........BOTH R SAME..................

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is this pointer in oop?

549


What is the difference between a constructor and a destructor?

604


Advantage and disadvantage of routing in telecom sector

780


Why is destructor used?

576


What is pure oop?

589






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.

622


write a program that takes input in digits and display the result in words from 1 to 1000

1980


What type of loop is a for loop?

680


Why do pointers exist?

653


What is ambiguity in inheritance?

619


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2000


Why is object oriented programming so hard?

610


Why do we use oop?

595


What is polymorphism used for?

564


What are main features of oop?

625