Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


When you define a integer it gets stored in which data
structure?(Stack or a heap)

Answers were Sorted based on User's Feedback



When you define a integer it gets stored in which data structure?(Stack or a heap)..

Answer / smikesh

Stack

Is This Answer Correct ?    9 Yes 3 No

When you define a integer it gets stored in which data structure?(Stack or a heap)..

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

Post New Answer

More OOPS Interview Questions

What is difference between pop and oop?

0 Answers  


What is polymorphism oop?

0 Answers  


Why do we use inheritance?

0 Answers  


why reinterpret cast is considered dangerous?

0 Answers   TCS,


What is data binding?

4 Answers   Ittiam Systems,


What are the important components of cohesion?

0 Answers  


What is overriding in oop?

0 Answers  


What do you mean by public, private, protected and friendly?

3 Answers   CA,


Which keyword is written to use a variable declared in one class in the other class?

5 Answers   TCS,


What is abstraction in oops?

0 Answers  


Can we create object of interface?

0 Answers  


What is the difference between Home and $Home?

2 Answers   TCS,


Categories