When you define a integer it gets stored in which data
structure?(Stack or a heap)
Answers were Sorted based on User's Feedback
Answer / shyam
Depends on where the integer is declared. If it s declared in a block it goes into stack.
If it s an static or global variable, it will not be stored in stack. It ll be stored in data segment of the running program.
Integer will never be stored in heap... never...
| Is This Answer Correct ? | 1 Yes | 0 No |
What is overloading in oop?
What is deep and shalow copy?
explain the concepts of oops?
Conversion from a basic type to a class type may be achieved using______________
what is object slicing?
Which method cannot be overridden?
advantage and disadvantage in c++>>oops and what are the questions ask for interview in c++>>oops. could you tell me or reply me
if u write a class do u write Assignment operator and copy constructor
write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?
2 Answers IBMS, Zycus Infotech,
what uses of c++ language?
Why many objects can working together? How objects working togetherM I want to see example code.
what isthe difference between c structure and c++ class