What is the difference between stack and heap memory?
Answer / nashiinformaticssolutions
o Stack: Memory is allocated and deallocated automatically.
o Heap: Memory is allocated dynamically using new or malloc.
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean by persistent and non persistent objects?
What is the difference between equal to (==) and assignment operator (=)?
What are move semantics?
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
Do vectors start at 0?
Out of fgets() and gets() which function is safe to use and why?
What are the differences between the function prototype and the function defi-nition?
How to declaring variables in c++?
What are proxy objects?
In c++, what is the difference between method overloading and method overriding?
Evaluate !(1&&1||1&&0) a) Error b) False c) True
Can you declare an array without a size in c++?