adplus-dvertising
frame-decoration

Question

How a static array is declared?

a.

float a [10];

b.

float * p = new float [60];

c.

int % p = float [30];

d.

None of them

Answer: (a).float a [10];

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How a static array is declared?

Similar Questions

Discover Related MCQs

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?

Q. There are how many values that can be used to initialize a pointer