In C, static storage class cannot be used with: a. Global variable b. Function parameter c. Function name d. Local variable
Question
In C, static storage class cannot be used with: a. Global variable b. Function parameter c. Function name d. Local variable
Solution
In C programming, the static storage class can be used with global variables, function names, and local variables. However, it cannot be used with function parameters. So, the correct answer is b. Function parameter.
Similar Questions
4. A static member function can be called using the ……………… instead of its objects.A) variable nameB) function nameC) Class nameD) object name
Select the correct answerStatic storage class cannot be used with:OptionsDefining global variablesDefining local variablesWith Function nameAs function parameters
What is the use of static variables in C?
Which of the following is not a storage class specifier in C? a. auto b. register c. static d. volatile
Which among the following is a Local Variable.?a.registerb.autoc.staticd.extern
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.