adplus-dvertising
frame-decoration

Question

A variable that is declared inside a block is called

a.

Global variable

b.

Local variable

c.

Inside variable

d.

None of them

Answer: (b).Local variable

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A variable that is declared inside a block is called

Similar Questions

Discover Related MCQs

Q. For accessing a global variable when a local variable of the same name is in scope, C++ provides a

Q. The () parenthesis in a function call

Q. Modules in C++ are called

Q. Which from the following is used for invoking a function?

Q. There are how many ways to invoke a function in C++?

Q. All variables declared in function definition are called

Q. Which operator is used for accessing global variables if the local variable of same name exists in the code?

Q. A function that need no return value, is called

Q. An identifier's scope is

Q. The standard C library file < stdlib.h> is used for

Q. Not initializing a reference variable will cause

Q. In which circumstances the recursion function is called?

Q. Like swap ( ) function if we want to change the value of actual parameter, we must call parameters

Q. The default return type for every function is

Q. A program that tells the compiler the name of the function, the type of function, and about the function parameters

Q. Why a parameter that is passed by value is referred as read only?

Q. Which from the following is not a maths function?

Q. The strand function is used for

Q. A called function can return control to the caller if

Q. The functions body is also referred as