GeekInterview.com
Series: Subject: Topic:
Question: 355 of 828

the value of an automatic variable that is declared but not initialized will be

1. 0 2. -1

3. unpredictable 4. 3

Asked by: Rujul | Member Since Feb-2007 | Asked on: Mar 9th, 2007

View all questions by Rujul   View all answers by Rujul

Showing Answers 1 - 3 of 3 Answers
Bharti

Answered On : Mar 15th, 2007

The automatic variable takes garbage valueso its answer is Unpredictable value.

  
Login to rate this answer.
gaurav_gangwar9

Answered On : Mar 17th, 2007

The value will be a garbage as auto variables and register variables are not initialisedso the ans is 3

  
Login to rate this answer.
sonalipatil

Answered On : Jul 12th, 2010

View all answers by sonalipatil

Unpredictable

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.