Which keyword is used to retain value of a variable in multiple function invocations?
Correct Answer: static
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
Which storage class is the default storage class for all local variables?
Which operations can be performed on the file 'NOTES.TXT' using the below code? FILE *fp; fp = fopen('NOTES.TXT', 'r+');
Comment on the statement: int (*a)[7];
Which correctly shows the hierarchy of arithmetic operators in C?
Offset used in fseek() function call can be a negative number.
If a two dimensional array arr[4][10](an array with 4 rows and 10 columns) is to be passed in a function, which of the following would be the valid parameters in the function definition?
Given the array: int num[3][4]= { {3,6,9,12}, {15,25,30,35}, {66,77,88,99} }; what would be the output of *(*(num+1))?
Output as a result of the following code snippet? void main() { int arr[5]={1,2,3,4,5}; printf('%d\n', *(arr+4)); }
Is the following statement correct? If not, why not? If yes, what is the size of the array? int array[][3] = { {1,2}, {2,3}, {3,4,2} };
Output as a result of the following code snippet? main() { char *s='Hello World'; char s1[20], s2[20]; int len = sscanf(s,'%s',s1); printf('%s : %d', s1, len); }