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...


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 initialised to zero
d.they are global.

Answers were Sorted based on User's Feedback



Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / sundeep

They are local.

Is This Answer Correct ?    28 Yes 5 No

Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / sivadatta kodali

answer is Both a And b because automatic variables is
nothing but a normalvariables their scope is with in the block
it must be declared before using the variable

Is This Answer Correct ?    6 Yes 0 No

Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / rajan singh

b. is right answer

Is This Answer Correct ?    5 Yes 2 No

Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / uma

auto is a defult data type in c na???then have to declare??
but c answer is some what ok....but exactly i think b...
i go for b

Is This Answer Correct ?    4 Yes 1 No

Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / subbu

options a,b,c are correct

Is This Answer Correct ?    5 Yes 9 No

Which of the following about automatic variables within a function is correct ? a.its type must ..

Answer / shruti

yup options a , b , c are correct..

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More C Interview Questions

In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

0 Answers  


helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.

3 Answers  


I need testPalindrome and removeSpace #include <stdio.h> #define SIZE 256 /* function prototype */ /* test if the chars in the range of [left, right] of array is a palindrome */ int testPalindrome( char array[], int left, int right ); /* remove the space in the src array and copy it over to the "copy" array */ /* set the number of chars in the "copy" array to the location that cnt points t */ void removeSpace(char src[], char copy[], int *cnt); int main( void ) { char c; /* temporarily holds keyboard input */ char string[ SIZE ]; /* original string */ char copy[ SIZE ]; /* copy of string without spaces */ int count = 0; /* length of string */ int copyCount; /* length of copy */ printf( "Enter a sentence:\n" ); /* get sentence to test from user */ while ( ( c = getchar() ) != '\n' && count < SIZE ) { string[ count++ ] = c; } /* end while */ string[ count ] = '\0'; /* terminate string */ /* make a copy of string without spaces */ removeSpace(string, copy, &copyCount); /* print whether or not the sentence is a palindrome */ if ( testPalindrome( copy, 0, copyCount - 1 ) ) { printf( "\"%s\" is a palindrome\n", string ); } /* end if */ else { printf( "\"%s\" is not a palindrome\n", string ); } /* end else */ return 0; /* indicate successful termination */ } /* end main */ void removeSpace(char src[], char copy[], int *cnt) { } int testPalindrome( char array[], int left, int right ) { }

0 Answers  


What does == mean in texting?

0 Answers  


program for validity of triangle from 3 side

7 Answers  


what is a stack

6 Answers  


how to find out the biggest element (or any other operation) in an array which is dynamic. User need not to mention the array size while executing.

3 Answers  


What is the output of below code? main() { static in a=5; printf("%3d",a--); if(a) main(); }

4 Answers   Infosys, TCS,


How does free() know explain how much memory to release?

0 Answers  


what are the advantages & disadvantages of unions?

2 Answers  


pgm to find middle element of linklist(in efficent manner)

4 Answers   Huawei,


Which is better between malloc and calloc?

0 Answers  


Categories