What would be the value of c?
 {
int c;
float a,b;
a=24

Home | Discussion Forum
Taiyari24Hour

What would be the value of c?

 {
int c;
float a,b;
a=245.05;
b=40.02;
c=a+b;
}



View More Related Question

2) What is the output of this C code?

#include <stdio.h>
int main()
{
int x = 2, y = 1;
x *= x + y;
printf("%d\n", x);
return 0;
}

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) Which of the following is true about 'C' operators?

5) What is the output of this C code?

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

UP Gk Online Test

taiyari24hour.com

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