what is the main difference between sizeof() operator in c
and c++
Answers were Sorted based on User's Feedback
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 |
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 |
Can we call a base class method without creating instance?
What is polymorphism and example?
What is overriding vs overloading?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
How compiler selects(internally) required overridden function in inheritance?
2 Answers CSC, Infinite Computer Solutions,
What is a template?
What is data binding?
Why a "operator=(...)" when there is a copy ctor?
What is polymorphism oop?
Why is oop useful?
to find out the minimum of two integer number of two different classes using friend function
Why do we use class in oops?