ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
To what value do nonglobal variables default?


	

1) auto 	 


2) register 	 


3) static 	 

 Question Submitted By :: Viju
I also faced this Question!!     Rank Answer Posted By  
 
  Re: To what value do nonglobal variables default? 1) auto 2) register 3) static
Answer
# 1
1) Auto
 
Is This Answer Correct ?    6 Yes 1 No
K.kavitha
 
  Re: To what value do nonglobal variables default? 1) auto 2) register 3) static
Answer
# 2
static
 
Is This Answer Correct ?    0 Yes 3 No
Srinivas
 
 
 
  Re: To what value do nonglobal variables default? 1) auto 2) register 3) static
Answer
# 3
static

explation:

all non global variables are act as static 

all local variables are act as auto
 
Is This Answer Correct ?    0 Yes 1 No
Anilkumar927@gmail.com
 
  Re: To what value do nonglobal variables default? 1) auto 2) register 3) static
Answer
# 4
Non global variables = local variables..

all non global variables default auto..
 
Is This Answer Correct ?    2 Yes 0 No
Shruti
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); } ADITI5
how can i get output like this? 1 2 3 4 5 6 Excel3
what is the output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d",&i,&j)); } Infosys14
What is a class?  2
what is the use of #pragma pack, wer it is used? Wipro1
what is the differnce between AF_INET and PF_INET? Wipro2
What is the diffrent between while and do while statement ?  5
What character terminates all strings composed of character arrays? 1) 0 2) . 3) END  3
what is const volatile?  1
How can I return multiple values from a function?  4
what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }  4
what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }  7
what is compiler  5
what is the difference between normal variables and pointer variables.............. Satyam7
Design a program using an array that lists even numbers and odd numbers separately from the 12 numbers supplied by a user.  7
HOW DO YOU HANDLE EXCEPTIONS IN C? AppLabs2
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }  3
wite a programme in c to linear search a data using flag and without using flags? TCS3
WAP to accept first name,middle name & last name of a student display its initials? NIIT2
What is the difference b/w main() in C language and main() in C++.  6
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com