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 |
What is namespace?
Can an interface inherit a class?
why destructor is not over loaded?
Name an advantage of linked list over array?
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).
What is Iteration Hierarchy? What is what is Object behavioral concept?
Why do we use inheritance?
what is the function of 'this' operator ?
What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5
What are the data types in oop?
what is the use of classes in c++;
what is namespace? what are the uses of namespace?