C Language MCQ - English
In which numbering system can the binary number 1011011111000101 be easily conve
Home | Discussion ForumIn which numbering system can the binary number 1011011111000101 be easily converted to?
Answer : B
View More Related Question
1) What is the output of this C code?
#include <stdio.h>
int main()
{
int i = -5;
i = i / 3;
printf("%d
", i);
return 0;
}
2) What is the output of this C code?
#include <stdio.h>
void main()
{
char a = 'a';
int x = (a % 10)++;
printf("%d\n", x);
}
3) What is the output of this C code?
#include <stdio.h>
int main()
{
int x = 2, y = 2;
x /= x / y;
printf("%d\n", x);
return 0;
}
4) Consider the following statements: int a=2, b=3, c=4;
What are the values of a, b and c, respectively?
a=(b++) +c;
b=a+(++c);
5) What is the output of this C code?
#include <stdio.h>
int main()
{
int i = -3;
int k = i % 2;
printf("%d\n", k);
}