What is the output of this C code?
#include <stdio.h>

Home | Discussion Forum
Taiyari24Hour

What is the output of this C code?

#include <stdio.h>
void main()
{
char a = 'a';
int x = (a % 10)++;
printf("%d\n", x);
}



View More Related Question

2) If the following variables are set to the values as shown below, then what will be the value of the following expression?

 answer=2;
marks=10;
!((answer<5)&&(marks>2))

3) What is the output of this C code?

#include <stdio.h>
int main()
{
int a = 10;
double b = 5.6;
int c;
c = a + b;
printf("%d", c);
}

4) In which numbering system can the binary number 1011011111000101 be easily converted to?

5) What is the value of x in this C code?

#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}

UP Gk Online Test

taiyari24hour.com

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