Podcast
Questions and Answers
What is the characteristic of static variables declared in function scope?
What is the characteristic of static variables declared in function scope?
How are external variables defined and accessed in a C program?
How are external variables defined and accessed in a C program?
Which section of memory stores static variables in C programs?
Which section of memory stores static variables in C programs?
What is the default initial value for external variables in C?
What is the default initial value for external variables in C?
Signup and view all the answers
What is the scope of extern variables in a C program?
What is the scope of extern variables in a C program?
Signup and view all the answers
Which type of linkage do global variables have in C programs?
Which type of linkage do global variables have in C programs?
Signup and view all the answers
What type of linkage does the global variable 'rateOfInt' have?
What type of linkage does the global variable 'rateOfInt' have?
Signup and view all the answers
Where is the global variable 'rateOfInt' stored in memory?
Where is the global variable 'rateOfInt' stored in memory?
Signup and view all the answers
What is the initial value of the global variable 'rateOfInt'?
What is the initial value of the global variable 'rateOfInt'?
Signup and view all the answers
When is the value of 'rateOfInt' accessed in the dispBal() function?
When is the value of 'rateOfInt' accessed in the dispBal() function?
Signup and view all the answers
Which part of the memory retains the value of 'rateOfInt' between different function calls?
Which part of the memory retains the value of 'rateOfInt' between different function calls?
Signup and view all the answers
What type of directive is a preprocessor directive in C programs?
What type of directive is a preprocessor directive in C programs?
Signup and view all the answers