Which of the following statements is true when a derivation inherits both a virtual and non-virtual instance of a base class ?
a) Each derived class object has base objects only from the non virtual instance b) Each base class object has derived objects only from the non-virtual instance c) Each derived class object has
#include Referring to the sample code above ,which of the following could you use to make the standards I/O Stream classes accessible without requiring the scope resolution operator ?
a) using namespace std::iostream b) using namespace std; c) using namespace iostream ; d) using iostream;
(a) 1 (b) 0 (c) 2 (d) none
Latest Answer: b)0 ...
Which one of the following statements allocates enough space to hold an array of 10 integers that are initialized to 0 ?
a) int *ptr = (int *) calloc(10,sizeof(int)); b) int *ptr = (int *) alloc( 10*sizeof(int)); c) int *ptr = (int *) malloc( 10*sizeof(int)); d) int *ptr = (int *)calloc(10*sizeof(int));
a) Databases b) Automated Test Tools c) Operating Systems d) Rapid Application Development Tool
Latest Answer: Answer is b: Automated Test Tools ...
a) Defect Found -> Defect Logged -> Defect Debugged -> Defect Closed -> Defect Rechecked b) Defect Found -> Defect Debugged -> Defect Reported -> Defect Rechecked -> Defect Closed c) Defect Debugged
Latest Answer: Defect Found -> Defect Logged -> Defect Debugged -> Defect Rechecked -> Defect Closedbest suites for the life cyle of the Defect ...
a) typedef((void *)0) NULL; b) typedef NULL(char *)0; c) #define NULL((void *)0) d) #define NULL((char*)0)
Latest Answer: #define NULL 0 is enough. NULL should be used as pointer. To be on the safer side, so that NULL wont be used as constant 0, we define #define NULL((void *)0). Then if we assign int x =NULL, it would give a compilation error ...
a) jump -2 upper b) cp upper ../.. c) cp upper -2/ d) None of the above
Latest Answer: Answer : (b) ...
a) Table, SQL statement types b) SQL statement type, user c) Column, rows d) User, tables
Latest Answer: a) Table, SQL statement types ...
Class professor{} class teacher: public virtual professor{}; class researcher: public virtual professor {} class myprofessor :public teacher, public researcher {};Referring to the sample code above ,if an object of class “myprofessor” were created ,how many instances of professor will it contain?
a) 0 b) 1 c) 2 d) 3
View page << Previous 1 [2] 3 Next >>

Go Top