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 difference b/w object based and object oriented programming language?

18 Answers   Chaitanya, College School Exams Tests, Educomp, IBM, Infosys, Telko,


What is Hashing and how is it done? Pictorial form?

2 Answers   emc2, Wipro,


Can we create object of class with private constructor?

5 Answers  


Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3

3 Answers   Accenture, Cognizant, IBM,


When is a memory allocated to a class?

11 Answers  


In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?

2 Answers  


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


How can we use the preprocessor #if and #elseif.

2 Answers  


monkey starts climbing up a tree 20ft tall,each hour ,it hops 3ft and slips back by 2ft .how much time it wil tak to reach top of the tree?

13 Answers   IonIdea,


What is abstraction in oop with example?

0 Answers  


What is encapsulation with real life example?

0 Answers  


What is the full form of oops?

0 Answers  


Categories