GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Axes Technologies  >  Computer Awareness
Go To First  |  Previous Question  |  Next Question 
 Computer Awareness  |  Question 18 of 35    Print  

Memory allocation of variables declared in a program is

a) allocated in RAM.
b) Allocated in ROM.
c) allocated on stack.
d) Assigned to registers.

(c)



  
Total Answers and Comments: 1 Last Update: February 10, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 10, 2006 13:34:47   #1  
anbarasigopu Member Since: February 2006   Contribution: 16    

RE: Memory allocation of variables declared in a ...
allocated in rom
 
Is this answer useful? Yes | No

 Related Questions

Conditional results after execution of an instruction in a micro processor is stored ina) registerb) accumulatorc) flag registerd) flag register part of PSW(Program Status Word)

Purpose of PC(Program Counter) in a Microprocessor isa) To store address of TOS(Top Of Stack)b) To store address of next instruction to be executed.c) Count the number of instructions.d) to store base address of the stack.
(b) 

When a 'C' function call is made, the order in which parameters passed to the function are pushed into the stack isa) left to rightb) right to leftc) bigger variables are moved first than the smaller variables.d) Smaller variables are moved first than the bigger ones.e) None of the above.
(b) 

Memory allocation of variables declared in a program isa) allocated in RAM.b) Allocated in ROM.c) allocated on stack.d) Assigned to registers.
(c) 

Find the output of the following programint *p,*q;p=(int *)1000;q=(int *)2000;printf("%d",(q-p));
500 

Memory. Management in Operating Systems is done bya) Memory Management Unitb) Memory management software of the Operating Systemc) Kernel
(b) 


 Sponsored Links

 
Related Articles

ODP.NET - Working with Bind Variables together with OracleParameter

ODP NET Working with Bind Variables together with OracleParameter With the help of OracleParameter you can include bind variables within any SQL statement These bind variables are nothing but run time query parameters The values in the SQL statement are bound at run time when we use bind variables m
 

Microsoft AJAX Library - Functions as Variables

Functions as Variables In JavaScript functions are first class objects This means that a function is regarded as a data type whose values can be saved in local variables passed as parameters and so on For example when defining a function you can assign it to a variable and then call the function thr
 

C++ Memory Management operators

C Memory Management operators Need for Memory Management operators The concept of arrays has a block of memory reserved The disadvantage with the concept of arrays is that the programmer must know while programming the size of memory to be allocated in addition to the array size remaining constant m
 

How is the main() function declared?

The declaration of main can be done as int main() One more declaration that can be taken by main is command line arguments form int main(int argc, char *argv[]) or this can also be written as int main(argc, argv) int argc; char *argv[]; NOTE: It is not possible for one to declare the main
 

What happens when a variable is not declared in function definition?

Generally in C program the function definition and calling takes the form as given below: main() { int x,y,z; z=sample(x,y); printf(“%d”,z); } sample(x1,y1) int x1,y1; { int z1; z1= x1 - y1; return(z1); } Here what happens is the values x, y gets passed to x1,y1
 

How to develop compile and run a C program

The steps involved in building a C program are: 1. First program is created by using any text editor and the file is stored with extension as .c 2. Next the program is compiled. There are many compilers available like GNU C compiler called as gcc, Sun compiler, Borland compiler which is pop
 

Swap two variables

How to swap two variables without using third variable? A variable is a named location in memory that is used to store data which can be modified in a program. Let us learn how to swap two variables without using third variable. This can be done in number of ways By using arithmetic operators
 

JavaScript Variables

JavaScript Variables In this JavaScript tutorial you will learn about JavaScript variables rules for variable names in JavaScript declaration of variable in JavaScript variables usage JavaScript in external file how to place the JavaScript in external file and how to execute this JavaScript placed i
 

Quality Aspects to Check While Writing COBOL Program

Quality Aspects to Check While Writing COBOL Program This article gives a general list which the programmer must check while delivering programs developed in COBOL This can also be used as a general checklist for checking quality of the COBOL program developed mosgoogle Quality is a vital factor fo
 

Scope of Variables in Function

Scope of Variables in Function In this C Tutorial you will learn about Scope of Variables in Function viz Local Variables Scope of Local Variables Global Variables Scope of Global Variables mosgoogle The scope of the variables can be broadly be classified as Local Variables Global Variables Loca
 

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