orrect answerDefault storage class of a variable is ________Optionsautoexternstaticregister
Question
orrect answerDefault storage class of a variable is ________Optionsautoexternstaticregister
Solution
The default storage class of a variable in C is "auto".
Similar Questions
BasicsWhat is storage class for variable A in below code?void main() { int A; A = 10; printf("%d", A);}Optionsautoexternregisterstatic
Select the correct answerStatic storage class cannot be used with:OptionsDefining global variablesDefining local variablesWith Function nameAs function parameters
Select the correct answerLocal variables are stored in an area called ___________OptionsHeapFree memoryStackPermanent storage area
The __________ parameter is a reference to the current instance of the class, and is used to access variables that belong to the class.Choose the best optionClear Response__init__()selfboth A and BNone of the above
t the correct answerWhich of this access specifies can be used for a class so that its members can be accessed by a different class in the same package?OptionsPublicNo ModifierProtectedAll of the mentioned
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.