GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 55 of 87    Print  
Regarding the scope of the variables. Identify the incorrect statement:

A. automatic variables are automatically initialized to 0
B. static variables are automatically initialized to 0
C. the address of a register variable is not accessible
D. static variables cannot be initialized with any expression


  
Total Answers and Comments: 4 Last Update: September 24, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 11, 2006 02:40:21   #1  
Manan        

RE: Regarding the scope of the variables. Identify the...
answer is B. static variables are automatically initialized to 0
 
Is this answer useful? Yes | No
August 17, 2006 02:32:46   #2  
Karthik Raj        

RE: Regarding the scope of the variables. Identify the...
A is the incorrect statement.Automatic variables have junk value until defined
 
Is this answer useful? Yes | No
October 14, 2006 18:33:57   #3  
talktomkb Member Since: October 2006   Contribution: 7    

RE: Regarding the scope of the variables. Identify the...
A. Automatic variables are not intialized by themselves
 
Is this answer useful? Yes | No
September 24, 2007 04:19:46   #4  
snehlata        

RE: Regarding the scope of the variables. Identify the...
A is incorrect statement because we have to initialize some value according to variable's data type in it otherwise it will accept any garbage value (value associated with last variable or last program).
 
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