what is the main difference between sizeof() operator in c
and c++
Answer Posted / 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 |
Post New Answer View All Answers
What is coupling in oops?
What is oops and its features?
2. Give the different notations for the class.\
What is encapsulation oop?
Which is not an object oriented programming language?
What are the components of marker interface?
What polymorphism means?
What is the purpose of enum?
What are functions in oop?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is constructor in oop?
Can we create object of interface?
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’.
What is constructor overloading in oop?
What is difference between inheritance and polymorphism?