CBSE Guess > Papers > Important Questions > Class XII > 2010 > Computer Science > Computer Science By Ravi Kiran CBSE CLASS XII (iii) Write name of all the member(s) accessible from member functions of class Institute. (iv) If class Institute was derived privately from class Learner and privately
from class Trainer, then, name the member function(s) that could be 3. (a) Write a function in C++ which accepts an integer array and its size as
arguments and replaces elements having odd values with thrice its value and
elements having even values with twice its value. (b) An array Array[20][15] is stored in the memory along the column with each element occupying 8 bytes. Find out the Base Address and address of the element Array[2][3] if the element Array [4] [5] is stored at the address 1000. 4 (c) Write a function in C++ to delete a node containing Book’s information,
from a dynamically allocated Stack of Books implemented with the help of
the following structure. (d) Write a function in C++ which accepts a 2D array of integers and its size as
arguments and displays the elements which lie on diagonals. 4. (a) Observe the program segment given below carefully, and answer the question Paper By Mr. Ravi Kiran |