What should be the value of i and k at the end of the following program segments

Home | Discussion Forum
Taiyari24Hour

What should be the value of i and k at the end of the following program segments?

 int i,j,k;
{
j=5;
i=2*j/2;
k=2*(j/2);
}



View More Related Question

2) What is the output of this C code?

#include <stdio.h>
void main()
{
int x = 5.3 % 2;
printf("Value of x is %d", x);
}

3) Which bitwise operator is suitable for turning on a particular bit in a number?

4) Consider the following statements:

 int a=2, b=3, c=4;
a=(b++) +c;
b=a+(++c);
What are the values of a, b and c, respectively?

5) The operator && in 'C' language is a (n):

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.