What is the difference between struct and class?
Structs are value type whereas Classes are reference type. Structs are stored on the stack whereas Classes are stored on the heap. Value types hold their value in memory where they are declared, but reference type holds a reference to an object memory.
Is This Answer Correct ? | 0 Yes | 0 No |
What does std :: flush do?
Who invented turbo c++?
What do you know about near, far and huge pointer?
What is #include iomanip?
Differentiate between declaration and definition in C++?
Can you pass an array to a function in c++?
Define 'std'.
Can we declare destructor as static? Explain?
i want the NIC programmer-B model papaer pattren, iwant the all model papers?
What is conversion constructor?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
What is a try block?