Directions to Solve In questions below, each passage consist of six sentences. The first and sixth sentence are given in the begining. The middle four sentences in each have been removed and jumbled up. These are labelled as P, Q, R and S. Find out the proper order for the four sentences. A RSPQ
B QSRP
C QPSR
D SRQP
Share : |
A Order may vary from compiler to compiler
B f1, f2, f3
C None of above
D f1, f2, f3
Share : |
A Member function and data are by default public in structures but private in classes.
B Member function and data are by default public in structures but protected in classes.
C Member function and data are by default protected in structures but private in classes.
D Member function and data are by default private in structures but public in classes.
Share : |
A The program reports an error as pointer to member function cannot be defined outside the definition of class.
B The program reports linker error.
C The program reports an error as pointer to static member function cannot be defined.
D The program reports an error as pointer to member function cannot be defined without object.
Share : |
A Both 1 and 2 are incorrect.
B Only 2 is correct.
C Both 1 and 2 are correct.
D Only 1 is correct.
Share : |
A 10 10 Garbage garbage
B 10 10 20 20
C Garbage garbage 20 20
D Garbage garbage Garbage garbage
Share : |
A The program will report compile time error.
B The program will print the output Garbage.
C The program will print the output 0.
D The program will print the output 33.
Share : |
A The program will print the output 44.
B The program will print the output 0.
C The program will print the output Garbage.
D The program will report compile time error.
Share : |
A 46 22
B 45 22
C 46 23
D 45 23
Share : |
A The program will report compile time error.
B The program will print the output 0.
C The program will print the output Garbage.
D The program will print the output 22.
Share : |