GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 39 of 87    Print  
Which of the following about automatic variables within a function is correct?

A. Its type must be declared before using the variable
B. They are local
C. They are not initialized to zero
D. They are global


  
Total Answers and Comments: 5 Last Update: July 02, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 29, 2006 13:39:00   #1  
Pranesh        

RE: Which of the following about automatic variables w...
the answer is GLOBAL
 
Is this answer useful? Yes | No
February 10, 2006 17:52:29   #2  
laxmikanth        

RE: Which of the following about automatic variables w...

Automatic variables are local variables they contain garbage value when they are declared.

Not only Automatic variable butalso every variable must be declared before its first use.


 
Is this answer useful? Yes | No
June 09, 2006 11:10:17   #3  
Gowrishankar        

RE: Which of the following about automatic variables w...

It is a local variable.when you declare the variable in the function it is treted as auto.


 
Is this answer useful? Yes | No
June 13, 2008 12:01:02   #4  
chandradeepika Member Since: May 2008   Contribution: 36    

RE: Which of the following about automatic variables within a function is correct?A. Its type must be declared before using the variableB. They are localC. They are not initialized to zeroD. They are global
ans:D)they are global.
 
Is this answer useful? Yes | No
July 02, 2008 05:10:48   #5  
prat8759 Member Since: July 2008   Contribution: 2    

RE: Which of the following about automatic variables within a function is correct?A. Its type must be declared before using the variableB. They are localC. They are not initialized to zeroD. They are global
correct ans is B: local........only extern variales are global
 
Is this answer useful? Yes | No


 
Go To Top


 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