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 are oops methods?
What is byval and byref? What are differences between them?
How to overload new operator in c++
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
create a c++ program that will accepts 9 inputs using 3 by 3 array.
What is property in oops?
What is this interview room ? Is it a class or an object.
write knight tour problem which is present in datastructure
What is an object?
Difference between realloc() and free?
what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?