adplus-dvertising
frame-decoration

Question

The statement int num[2][3]={ {3,8,6}, {9,4,7}};

a.

assigns a value 4 to num[1][2]

b.

assigns a value 7 to num[1][2]

c.

assigns a value 8 to num[1][2]

d.

assigns a value 9 to num[1][2]

Answer: (b).assigns a value 7 to num[1][2]

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The statement int num[2][3]={ {3,8,6}, {9,4,7}};

Similar Questions

Discover Related MCQs

Q. The store of memory available to programs is the _____

Q. The most common operation used in constructors is _____

Q. When a function performs tasks based on a decision, it has _____

Q. A variable is _____

Q. A function can

Q. The statement float values[]={3.14, -7.86, 36.96, 4.87};

Q. When the compiler places a copy of a small function's statements directly into a program, the function is said to be _____

Q. A group of related fields that contain all of the data about a specific person, place, or thing is called a

Q. To send output to a file, you need to include the _____ header file in your program

Q. A C++ _____ is a program that runs in a DOS window

Q. A 'C' function does not contain

Q. _____ variables remain in memory until the program ends

Q. Which of the following is false?

Q. _____ variables are declared outside of any statement block

Q. Variable names known only to the procedure in which they are declared are ________

Q. Which is true?

Q. The keyword used to define a structure is

Q. Which of the following tells C++ to display numbers with zero decimal places?

Q. Code that has already been tested is said to be _____

Q. The most efficient data type for a variable that the number 20000 is the _____ data type