How does c++ structure differ from c++ class?
No Answer is Posted For this Question
Be the First to Post Answer
What is the Diffrence between a "assignment operator" and a "copy constructor"?
What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }
Which uses less memory? a) struct astruct { int x; float y; int v; }; b) union aunion { int x; float v; }; c) char array[10];
What is a constructor in c++ with example?
Comment on assignment operator in c++.
What is the best c++ book?
What is the difference between static link library and dynamic link library?
Floating point representation and output seems to be compiler dependent?
What is the difference between Class and Structure?
40 Answers HP, IBM, Samsung, TCS,
1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v
When should you use global variables?
How the compilers arranges the various sections in the executable image?