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 the different forms of polymorphism??
What are the four main oops concepts?
different types of castings
What is encapsulation and abstraction? How are they implemented in C++?
1 Answers Agilent, ZS Associates,
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
Advantage and disadvantage of routing in telecom sector
swapping program does not use third variable
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is the renewal class?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)
What is object and class in oops?