adplus-dvertising
frame-decoration

Question

Find a right answer.

a.

Default value of auto variable = Garbage Value
Default value of static = Garbage Value
Default value of extern = Garbage Value
Default value of register = Garbage Value

b.

Default value of auto variable = zero
Default value of static = zero
Default value of extern = zero
Default value of register = zero

c.

Default value of auto variable = Garbage
Default value of static = zero
Default value of extern = zero
Default value of register = Garbage

d.

Default value of auto variable = zero
Default value of static = Garbage
Default value of extern = Garbage
Default value of register = zero

Posted under C Programming

Answer: (c).Default value of auto variable = Garbage
Default value of static = zero
Default value of extern = zero
Default value of register = Garbage

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Find a right answer.

Similar Questions

Discover Related MCQs

Q. Find a correct statement.

Q. Which among the following is a Local Variable?

Q. Which among the following is a Global Variable?

Q. Choose a correct statement about static variable.

Q. register float a = 3.14f;

Choose right statement.

Q. What is the difference between Declaration and Definition?

Q. Choose a correct statement regarding automatic variables.

Q. Operator % in C Language is called

Q. Output of an arithmetic expression with integers and real numbers is ___ by default.

Q. If both numerator and denominator of a division operation in C language are integers, then we get?

Q. Can you use C Modulo Division operator % with float and int?

Q. What is the priority of operators *, / and % in C language?

Q. In C language, which Operator group has more priority between (*, / and %) and (+, -) groups?

Q. Associativity of C Operators *, /, %, +, - and = is

Q. What is the Priority among (*, /, %), (+, -) and (=) C Operators?

Q. Choose a C Conditional Operator from the list.

Q. What is the other name for C Language ?: Question Mark Colon Operator?

Q. Choose a syntax for C Ternary Operator from the list.

Q. Choose a correct statement regarding C Comparison Operators.

Q. Choose a statement to use C If Else statement.