Automatic variables are _________

Category: QuestionsAutomatic variables are _________
Editor">Editor Staff asked 11 months ago

Automatic variables are  _________
 
(a) Declared within the scope of a block, usually a function
 
(b) Declared outside all functions
 
(c) Declared with the auto keyword
 
(d) Declared within the keyword extern
 
I got this question during an interview for a job.
 
My question comes from Automatic Variables in division C Functions and Structure of a Program of C
NCERT Solutions for Subject Computer science (C Programming) Select the correct answer from above options 
Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience

1 Answers
Editor">Editor Staff answered 11 months ago

Right answer is (a) Declared within the scope of a block, usually a function
 
The explanation: None.