Time Left - 08:00 mins
RRB JE (IT) : C language + C++ language Quiz 5
Attempt now to get your rank among 268 students!
Question 1
Class Dog: public X, public Y is an example of
Question 2
Choose the incorrect statements-
Question 3
Consider the declarations
const char cc = 'h';
char *cp;
const char *const ccpc = &cc;
char *const *cpcp;
Which of the following statements
Statement I: cp = *cpcp;
Statement II: **cpcp = *cp;
Statement III: *cp = **cp cp;
are legal?
Question 4
Which of the following operators cannot be overloaded?
Question 5
Choose the correct one-
Question 6
If y is of integer type then the expressions
3 * (y — 8)/ 9 and (y — 8) / 9 * 3 yield the same value if
Question 7
Let a, b be two positive integers. Which of the following options correctly relates / and %?
Question 8
Consider the statements:
putchar (getchar ());
putchar (getchar ());
If
a
b
is the input, the output will be
Question 9
If abc is the input then the following program fragment results in
char a, b, c; printf("%d", scanf("%c%c%c", &a, &b, &c)); results in
Question 10
If an integer needs two bytes of storage then maximum value of a signed integer is
- 268 attempts
- 0 upvotes
- 1 comment
Aug 7GATE & PSU CS