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
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the renewal class?
How many human genes are polymorphic?
What is encapsulation in ict?
What is abstract class in oop?
What is encapsulation and abstraction? How are they implemented in C++?
What is constructor in oop?
What are the benefits of oop?
What is destructor give example?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is polymorphism in oops with example?
What are the 4 main oop principles?
What is debug class?what is trace class? What differences are between them? With examples.
what is difference between class template and template class?
when to use 'mutable' keyword and when to use 'const cast' in c++