GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Siemens  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 18 of 35    Print  
Automatic variables are destroyed after function ends because

A. Stored in swap
B. Stored in stack and popped out after function returns
C. Stored in data area
D. Stored in disk


  
Total Answers and Comments: 2 Last Update: August 05, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 20, 2005 03:04:28   #1  
V Shashi Bhushan        

RE: Automatic variables are destroyed after function ends because A. Stored in swap B. Stored in stack ...
Answer is : B

Auto variables are Stored in Stack and poped out after the function returns

 
Is this answer useful? Yes | No
August 05, 2006 01:48:03   #2  
rakesh        

RE: Automatic variables are destroyed after function ...

automatic variables (i.e local variables) are stored in stack area for a C pgm.

so the ans is B.


 
Is this answer useful? Yes | No

 Related Questions

For the following C program:swap(int x, int y){ int temp;temp=x;x=y;y=temp;}main(){int x=2;y=3;swap(x,y);}After calling swap, what are the values x & y?

Static variable will be visible in A. Function in which they are defined B. Module in which they are defined C. All the program D. None

A node has the IP address 138.50.10.7 and 138.50.10.9. But it is transmitting data from node1 to node 2only.The reason may be A. A node cannot have more than one address B. class A should have second octet different C. class B should have second octet different D. All of the above

Which of the following is not true about C++ A. Code removable B. Encapsulation of data and code C. Program easy maintenance D. Program runs faster

Automatic variables are destroyed after function ends because A. Stored in swap B. Stored in stack and popped out after function returns C. Stored in data area D. Stored in disk

Link between program and outside world in ms -windows A. Device driver and hardware disk B. Application and device driver C. Application and hardware device D. None

Latest Answer : tree ...


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

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
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving Typed Data

ODP NET Retrieving Typed Data While retrieving values from OracleDataReader we can extract information available in individual columns of a particular row either by using column ordinal position values or column names mosgoogle Retrieving Typed Data Using Ordinals ODP NET provides data specific enum
 

ODP.NET - Retrieving Data Using OracleDataReader

ODP NET Retrieving Data Using OracleDataReader OracleDataReader is simply a read only and forward only result set It works only if the database connection is open and it makes sure that the connection is open while you are retrieving data As the data that it retrieves is read only it is a bit faster
 

Sponsored Links

 
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