Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


To what value do nonglobal variables default?




1) auto


2) register


3) static

Answers were Sorted based on User's Feedback



To what value do nonglobal variables default? 1) auto 2) register 3) stati..

Answer / k.kavitha

1) Auto

Is This Answer Correct ?    15 Yes 1 No

To what value do nonglobal variables default? 1) auto 2) register 3) stati..

Answer / shruti

Non global variables = local variables..

all non global variables default auto..

Is This Answer Correct ?    3 Yes 0 No

To what value do nonglobal variables default? 1) auto 2) register 3) stati..

Answer / anilkumar927@gmail.com

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

To what value do nonglobal variables default? 1) auto 2) register 3) stati..

Answer / srinivas

static

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More C Interview Questions

#include<stdio.h> #include<conio.h> void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }

9 Answers   TCS,


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

0 Answers  


What is a void pointer? When is a void pointer used?

0 Answers   Aspire, Infogain,


What are conditional operators in C?

0 Answers   Adobe,


class foo { public: static int func(const char*& p) const; }; This is illegal, why?

8 Answers   Google,


What is the difference between malloc calloc and realloc in c?

0 Answers  


write a function for strtok()??

2 Answers   Verifone,


print out of string in this format; 1. "rajesh" 2. \n 3. %d

5 Answers   mpower,


write a program which will count occurance of a day between two dates.

1 Answers   IonIdea,


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

0 Answers   Wilco,


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

0 Answers  


How would you rename a function in C?

0 Answers   Tech Mahindra,


Categories