Time Left - 06:00 mins

ESE 2021 Technical Quiz 128|| Elements of programming languages, typical examples

Attempt now to get your rank among 152 students!

Question 1

Which of the following, is the correct order of evaluation for the below expression?

Z = x + y * z/4 %2 - 1

Question 2

Given i= 0, j = 1, k = – 1, x = 0.5, y = 0.0
What is the output of the given ‘C’ expression?
x * 3 & & 3 || j || k

Question 3

Consider the following C program:

#include

int main()

{
int a=1, b=1;

int c = a++ || b--;

printf(“%d%d”, c, b);

}

Which of the following represents output of above C program?

Question 4

What is the size of a C structure?

Question 5

What is the output of this C code?

#include <stdio.h>

int main()

{

j= 10;

printf("%d\n", j++);

return 0;

}

  • 152 attempts
  • 0 upvotes
  • 0 comments
Aug 4ESE & GATE EC