adplus-dvertising
frame-decoration

Question

int i = 5; is a statement in a C program.

a.

during execution, value of i may change but not its address

b.

during execution both the address and value may change

c.

repeated execution may result in different addresses for i

d.

i may not have an associated address

Posted under C Programming

Answer: (c).repeated execution may result in different addresses for i

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. int i = 5; is a statement in a C program.

Similar Questions

Discover Related MCQs

Q. If the declaration unsigned c:5; is replaced by
unsigned : 6;
then

Q. The value of ab if ab & 0 x 3f equals 0 x 27 is

Q. In C programming language, if the first and the second operands of operator + are of types int and float, respectively, the result will be of type

Q. C programming language provides operations which deal directly with objects such as

Q. C programming language by itself provides

Q. The variables which can be accessed by all modules in a program, are called

Q. The rule for implicit type conversion in 'C' is

Q. Consider the following statement:

#define hypotenuse (a, b) sqrt (a*a + b*b);
The macro-call hypotenuse (a + 2, b + 3);

Q. A static variable

Q. The statement
# include < math.h>
is written at the top of a program to indicate

Q. The declarations
typedef float hight [100];
height men, women;

Q. In case of ordinary int variables

Q. If a is an unsigned integer variable whose value is hx6db7, what is the value of -a?

Q. The C declaration
int b [100];
reserves ____________ successive memory locations,each large enough to contain single integer.

Q. The value of an automatic variable that is declared but not initialized will be

Q. Choose the correct answer

Q. Which of the following comments regarding the reading of a string, using scanf(with optional) and get is true?

Q. If integer needs two bytes of storage, then maximum value of a signed interger is

Q. The minimum number of temporary variables needed to swap the contents of two variables is

Q. If s and b are integers then  purpose of the following program fragment is to 

   b = s + b ;
   s = b - s ;
   b = b - s ;