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 |
Define macro.
Which is better turbo c++ or dev c++?
What is size of Empty Class?
What is flush programming?
What operators can you overload in c++?
Describe the role of the c++ in the tradeoff of safety vs. Usability?
What is &x in c++?
What do you mean by overhead in c++?
What's the most powerful programming language?
What are the four main data types?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
What is constant in c++ with example?