Time Left - 15:00 mins
GATE CS 2022: Data Structure-4
Attempt now to get your rank among 412 students!
Question 1
Variables of type auto, static and extern are all stored in?
Question 2
What is the output of the program.?
#include
static int k;
int main()
{ printf("%d", k);
return 90;
}
Question 3
Convert the following Infix expression to Postfix form using a stack
x + y * z + (p * q + r) * s, follow usual precedence rule and assume that the expression is legal.
Question 4
Convert the following prefix expression into a postfix expression :
* – + A B C D
Question 5
Size of the string "TARGETGATE" is
Question 6
Consider the following declaration.
Int a, *b = &a, **c = &b;
a = 4;
**c = 5;
If the statement
b = (int *)**c
Is appended to the above program fragment then
- 412 attempts
- 0 upvotes
- 3 comments
Aug 29GATE & PSU CS