Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

When a multidimensional array is accessed, each array index is
A:
separated by commas
B:
surrounded by brackets and separated by commas
C:
separated by commas and surrounded by brackets
D:
surrounded by brackets
Answer: D
No answer description is available. Let's discuss.
The function whose prototype is void getData(Item &thing); receives
A:
a pointer to a structure
B:
a reference to a structure
C:
a copy of a structure
D:
nothing
Answer: B
No answer description is available. Let's discuss.
Which of the following is the extraction operator?
A:
>>
B:
<<
C:
//
D:
/*
Answer: A
No answer description is available. Let's discuss.
A pointer to void can hold pointers to
A:
char type
B:
int type
C:
float type
D:
any data type
Answer: D
No answer description is available. Let's discuss.
The function strcmp("Jose", "JOSE") will return _____
A:
- 1
B:
0
C:
1
D:
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz