GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 25 of 258    Print  
What are the different types of Storage classes?

  
Total Answers and Comments: 2 Last Update: August 26, 2005   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 26, 2005 17:06:23   #1  
Ashish        

RE: What are the different types of Storage classes?
Hi friends

There are 5 kind of storage classes
auto - : like int
extern-: used by other class or programm
static -: retain the value through out the executionof the programm
register-: First memory storage.Secquence of memory allocation is
Register--> Cache--> RAM

Register storage does not have memory addressthis is the resion why we can not store thr Pointer variable in to theregister storage

volatile-: Memory is alocated for a frection of time

Ashish


 
Is this answer useful? Yes | No
August 26, 2005 17:06:36   #2  
Ashish        

RE: What are the different types of Storage classes?
Hi friends

There are 5 kind of storage classes
auto - : like int
extern-: used by other class or programm
static -: retain the value through out the executionof the programm
register-: First memory storage.Secquence of memory allocation is
Register--> Cache--> RAM

Register storage does not have memory addressthis is the resion why we can not store thr Pointer variable in to theregister storage

volatile-: Memory is alocated for a frection of time

Ashish


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : There are 2 types of Polymorphism1. Compile time Polymorphism2. Run Time PolymorphismCompile time polymorphism is used for Function overloadingRuntime is used for implementing virtual functions,overriding etc. ...

Latest Answer : Hi friends,   There are 5 kind of storage classes  auto - : like int extern-: used by other class or programm static -: retain the value through out the executionof the programm register-: First memory storage.Secquence ...

Latest Answer : Sequence Containers- deque- list- vectorAssociative Containers- map (multimap)- set (multiset)Container Adapters- priority_queue- queue- stack ...

Latest Answer : Abstract classes: They are modeled with their names in italicsStatic Members: They are modeled with an underline ...
Tags : Abstract

Describe about storage allocation and scope of global, extern, static, local and register variables?

Latest Answer :          Storage classes in c are :   Auto ,Extern,Static,Register,Volatile. ...

Latest Answer : Generic classes are those which describe the functionality without being bound to any data type. These classes can be used to generate definitions of classes which are bound to a particular data type. A good example is an Array class. Functionality of ...

Latest Answer : Virtual base class is a term used in C++ multiple inheritance.Assume the following -- base class P. Two classes A and B derive from P. A third class C derives from both A and B.P has a protected variable pvar. A class C method accesses this variable. ...

Latest Answer : There are five types of inheritance. 1. Single inheritance 2. Multilevel inheritance 3. Multiple inheritance 4. Hierarchical inheritance 5. Hybrid inheritance ...

I have just started doing OOP design. My experience has been in RDBMS. Where we work with tables, relation between them defined using foreign keys. Can anyone pl. help in designing classes for a simple case here. There are two tables (states, districts). Districts contains stateId as foreign key. So state to district 1-many relation is there. Such things how do we design in oops. Thanx in advance
Read Answers (2) | Asked by : sudha
Tags : RDBMS, OOPS


 Sponsored Links

 
Related Articles

ODP.NET - Fundamental ODP.NET Classes to Retrieve Data

ODP NET Fundamental ODP NET Classes to Retrieve Data To retrieve data from an Oracle database using ODP NET we need to work with a few of the ODP NET classes At this point we will discuss the most fundamental classes available in ODP NET for retrieving data mosgoogle The following is the list of fun
 

jQuery - Sorting Other Types of Data

Learning jQuery Sorting Other Types of Data Our sort routine should be able to handle not just the Title and Author columns but the Publish Dates and Price as well Since we streamlined our comparator function it can handle all kinds of data but the computed keys will need to be adjusted for other da
 

Microsoft AJAX Library - C# and JavaScript Classes

C and JavaScript Classes For the purpose of demonstrating a few more OOP related concepts we ll use another class Our new class is named Table and it has two public fields rows columns and one method getCellCount The getCellCount method should return the number of rows multiplied by the number of co
 

Microsoft AJAX Library - JavaScript Classes

JavaScript Classes Not only can JavaScript functions contain other functions but they can also be instantiated This makes JavaScript functions a good candidate for implementing the concept of a class from traditional object oriented programming This is very helpful feature indeed because JavaScript
 

EDI Document Types

EDI Document Types EDI documents come in various forms each of which can appear differently depending on the company’ s internal computer system Also while each standard has code specificity each order may look very different a clothes company will send details of color and sizes while a f
 

OOPS Tutorials

Object oriented programming OOP is a computer science term used to characterize a programming language that began development in the 1960’ s The term object oriented programming’ was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

Listening Skills - Types of Bad Listeners

Types of Bad Listeners What are the main types of bad listeners You might find in your work environment that some individuals are simply not very good at listening This can create a myriad of problems and make the performance of the most mundane day to day tasks nearly impossible to accomplish mosgo
 

C++ Function Passing Types

C Function Passing Types In this C tutorial you will learn about function passing types two types of arguments passing in functions passed by value  and  passed by reference are discussed here mosgoogle center The arguments passed to a function can be performed in two ways Passed
 

C++ Storage Classes

C Storage Classes In this C tutorial you will learn about storage classes types of storage class variables Automatic External and Static explained with examples mosgoogle center Storage classes In the context of scope of variables in functions exists the important concept of storage class What is St
 

C++ Objects and Classes

C Objects and Classes An Overview about Objects and Classes In object oriented programming language C the data and functions procedures to manipulate the data are bundled together as a self contained unit called an object A class is an extended concept similar to that of structure in C programming l
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape