adplus-dvertising
frame-decoration

Question

If an automatic variable is created and then a function is called then ________________

a.

The automatic variable created gets destroyed

b.

The automatic variable doesn’t get destroyed

c.

The automatic variable may or may not get destroyed

d.

The automatic variable can’t be used in this case

Answer: (b).The automatic variable doesn’t get destroyed

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If an automatic variable is created and then a function is called then ________________

Similar Questions

Discover Related MCQs

Q. Where are the automatic variables stored if another function is called in between the execution of program?

Q. The static variables of a function ________________

Q. All variables declared within a block ____________________

Q. What values does uninitialized automatic variables contain?

Q. Constructor of automatic variables is called ____________________

Q. Does java contain auto or register keywords?

Q. The automatic variables _________________________

Q. Which error is produced if the automatic variables are used without declaration?

Q. In perl, using which operator are the local variables created?

Q. How are automatic variables different from the instance variables?

Q. What is extern variable?

Q. Which among the following is a correct statement for variables?

Q. Which among the following is true for the variables?

Q. To use extern variable _____________________

Q. What does a header file contain for an extern variable?

Q. Which condition is true if extern variable is used in a file?

Q. Whenever a function is declared in a program _____________________

Q. Even if a variable is not declared as extern, it is extern by default. (True/False)

Q. Due to what, is the memory allocated for the extern variables?

Q. Which is the correct syntax for extern variable declaration?