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 SRQP
B QPSR
C RSPQ
D QSRP
Share : |
A f1, f2, f3
B f1, f2, f3
C Order may vary from compiler to compiler
D None of above
Share : |
A Member function and data are by default protected in structures but private in classes.
B Member function and data are by default private in structures but public in classes.
C Member function and data are by default public in structures but private in classes.
D Member function and data are by default public in structures but protected 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 an error as pointer to static member function cannot be defined.
C The program reports an error as pointer to member function cannot be defined without object.
D The program reports linker error.
Share : |
A Only 1 is correct.
B Only 2 is correct.
C Both 1 and 2 are correct.
D Both 1 and 2 are incorrect.
Share : |
A 10 10 20 20
B Garbage garbage 20 20
C 10 10 Garbage garbage
D Garbage garbage Garbage garbage
Share : |
A The program will print the output 0.
B The program will print the output 33.
C The program will print the output Garbage.
D The program will report compile time error.
Share : |
A The program will print the output 0.
B The program will print the output 44.
C The program will print the output Garbage.
D The program will report compile time error.
Share : |
A 45 22
B 46 22
C 45 23
D 46 23
Share : |
A The program will print the output 0.
B The program will print the output 22.
C The program will print the output Garbage.
D The program will report compile time error.
Share : |