Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / selvapriya

In C and C++ Sizeof() operator meang is same. .bt java
sizeof()operator is different becoz the datatype carries
value is different..for eg in c and c++ integer contain
2bytes..in java integer contain 4bytes. .

Is This Answer Correct ?    4 Yes 4 No

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

Answer / 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

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

Answer / pinakin

Both same

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More OOPS Interview Questions

What is the difference between a mixin and inheritance?

0 Answers  


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?

0 Answers  


what is data hiding.

3 Answers   Wipro,


What is abstraction in oops with example?

0 Answers  


write a progra in c++ using class & object to find out wheather a given no. is prim or not.

2 Answers  


how much classes are used in c++

5 Answers  


What is an object?

14 Answers   HCL,


for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)

2 Answers  


What is a macro? And how is a macro same as a template?

4 Answers  


How does polymorphism work?

0 Answers  


how do u initialize the constant variables

5 Answers   IBM, Siemens,


what is the new version of oops

0 Answers   Ignou,


Categories