Time Left - 15:00 mins
GATE CS 2021 : Data Structure 4
Attempt now to get your rank among 1090 students!
Question 1
Choose the invalid identifier from the below
Question 2
Which of the following is a logical OR operator?
Question 3
Which of the following variable cannot be used by switch-case statement?
Question 4
Which combination of the integer variables x, y and z makes the variable a get the value 4 in the following expression? a = (x > y)? ((x > z)? x : z): ((y > z)? y : z)
Question 5
Consider the following variable declarations and definitions in C
Choose the correct statement w.r.t. above variables.
Choose the correct statement w.r.t. above variables.
Question 6
Let x be an integer which can take a value of 0 or 1. The statement if(x = =0) x = 1; else x = 0; is equivalent to which one of the following?
- 1090 attempts
- 6 upvotes
- 22 comments
Jul 22GATE & PSU CS