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 namespace?

15 Answers  


Can an interface inherit a class?

0 Answers  


why destructor is not over loaded?

5 Answers  


Name an advantage of linked list over array?

11 Answers   IBM, Infosys,


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

0 Answers  


What is Iteration Hierarchy? What is what is Object behavioral concept?

1 Answers  


Why do we use inheritance?

0 Answers  


what is the function of 'this' operator ?

7 Answers   Wipro,


What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5

16 Answers   TCS,


What are the data types in oop?

0 Answers  


what is the use of classes in c++;

2 Answers   HCL,


what is namespace? what are the uses of namespace?

1 Answers  


Categories