1.

What is the scope of an automatic variable?(a) Within the block it appears(b) Within the blocks of the block it appears(c) Until the end of program(d) Within the block it appears & Within the blocks of the block it appearsI had been asked this question in an online interview.This question is from Automatic Variables in chapter C Functions and Structure of a Program of C

Answer»

The CORRECT OPTION is (d) Within the block it appears & Within the BLOCKS of the block it appears

For explanation: NONE.



Discussion

No Comment Found

Related InterviewSolutions