Time Left - 15:00 mins

GATE CS 2022 : Data structure -3

Attempt now to get your rank among 246 students!

Question 1

Which of the following represents the structure of a Doubly linked list node:

Question 2

What is the value of the postfix expression 6 3 2 4 + – *:

Question 3

What is postfix notation also known as:

Question 4

Output of following program?

# include <stdio.h>

void fun(int *ptr)

{

*ptr = 30;

}

int main()

{

int y = 20;

fun(&y);

printf("%d", y);

return 0;

}

Question 5

The Output of following code is-

int main()

{

int a = 5;

int *ptr ;

ptr = &a;

*ptr = *ptr * 3;

printf("%d", a);

return 0;

}

Question 6

#include

int test(int count)

What is sum of all outputs:-

  • 246 attempts
  • 1 upvote
  • 7 comments
Jul 2GATE & PSU CS

Posted by:

Harshita AgarwalHarshita AgarwalMember since Jul 2020
Share this quiz   |