A three dimensional array in ‘C’ is declared as int A[x][y][z]. Here, the address of an item at the location A[p][q][r] can be computed as follows (where w is the word length of an integer):
A. | &A[0][0][0]+w(y*z*q+z*p+r) |
B. | &A[0][0][0]+w(y*z*p+z*q+r) |
C. | &A[0][0][0]+w(x*y*p+z*q+r) |
D. | &A[0][0][0]+w(x*y*q+z*p+r) |
Option: B Explanation : Click on Discuss to view users comments. |
In C++, which system-provided function is called when no handler is provided to deal with an exception?
A. | terminate() |
B. | unexpected() |
C. | abort() |
D. | kill() |
Option: A Explanation : Click on Discuss to view users comments. |
Which of the following provides the best description of an entity type?
A. | A specific concrete object with a defined set of processes (e.g. Jatin with diabetes) |
B. | A value given to a particular attribute (e.g. height-230 cm) |
C. | A thing that we wish to collect data about zero or more, possibly real world examples of it may exist. |
D. | A template for a group of things with the same set of characteristics that may exist in the real world |
Option: D Explanation : Click on Discuss to view users comments. |