adplus-dvertising
frame-decoration

Question

Which from the following is not a mutable lvalue?

a.

double x= 1.54;

b.

a [6]

c.

double & r = x;

d.

double a [7] = {0.0};

Answer: (d).double a [7] = {0.0};

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which from the following is not a mutable lvalue?

Similar Questions

Discover Related MCQs

Q. How a static array is declared?

Q. Immutable values are those

Q. If a variable has type int, then the pointer variable must have type pointer to int that is denoted as

Q. A pointer that is not initialized, is called

Q. The address of a variable is accessed by

Q. A type of variable that stores an address is called

Q. Arrays, constants, and functions all are derived from int, that's why they are called

Q. What is used for accessing the contents of memory location whose address is stored in a pointer variable?

Q. A derived type that is based upon more than one fundamental type, is called

Q. X *= y is an example of

Q. <, >, <=, >=, == all this operators are called

Q. The terms lvalue and rvalue is referred to the things that appears on

Q. A non-member function that is given access to all members of a class within it is declared, is called

Q. The address operator is denoted by

Q. The increment operator ++and decrement operator −− each have two forms, that is called

Q. Float * p = new float [50]; is an example of

Q. Lvalues that appears on the left side of an assignments are called

Q. When a variable is declared, three attributes are associated with it, its name, its type and

Q. There are how many different ways to pass a pointer to a function?

Q. What is a Pointer?