Question
a.
fee feeInfo = {{0}, {0}};
b.
fee as feeInfo = 0, 0;
c.
feeInfo fee = 0, 0;
d.
feeInfo fee = {0,0};
Posted under Object Oriented Programming Using C++
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following statements will create and initialize a feelnfo array named fee?
Similar Questions
Discover Related MCQs
Q. One way in which a structure differs from an array is that
View solution
Q. Variables that hold memory addresses are called _____
View solution
Q. The element of an array is
View solution
Q. Assume that a program includes the short *agePtr = NULL; statement. The name of the pointer is _____
View solution
Q. A pointer to void can hold pointers to
View solution
Q. When a multidimensional array is accessed, each array index is
View solution
Q. You indicate a variable is a pointer variable by placing a(n) _____ in front of the variable's name
View solution
Q. Which of the following statements declares a one-dimensional Character array named item that consists of five elements?
View solution
Q. Assume that a program creates and initializes a Short Integer variable named age and a pointer named agePtr, to which it assigns the address of the age variable. Which of the following statements will assign the number 21 to the age variable?
View solution
Q. The statement fwrite ( (char*)&objl, sizeof(objl) );
View solution
Q. Which of the following statement is correct?
View solution
Q. Which of the following statements is correct?
1. Once a reference variable has been defined to refer to a particular variable it can refer to any other variable.
2. A reference is not a constant pointer.
View solution
Q. Functions can be declared to return a reference type. There are reasons to make such a declaration/Which of the following reasons are correct?
1. The information being returned is a large enough object that returning a reference is more efficient than returning a copy.
2. The type of the function must be a R-value.
View solution
Q. Which of the following statements is correct?
1. Change a reference changes the referent.
2. We can create an array of references.
View solution
Q. Which of the following statement is correct about the references?
View solution
Q. A reference is declared using the _____ symbol.
View solution
Q. Which of the following statement is correct?
View solution
Q. Which of the following statements is correct?
1. A reference is not a constant pointer.
2. A referenced is automatically de-referenced.
View solution
Q. Which of the following statements is correct?
1. An array of references is acceptable.
2. We can also create a reference to a reference.
View solution
Q. Which of the following statement is correct?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming Using C++? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!