printf("%d",printf("tim"));
__________.abc
is the input then the following program fragment results in __________?char x, y, z;
printf("%d", scanf("%c%c%c", &x, &y, &z));
a
and b
be two positive integers. Which of the following options correctly relates /
and %
?
abcdefghijklmnopqrstuvwxyz
then xxx
should be __________?char c = 'a';
while(c++ <= 'z')
{
putchar(xxx);
}
5 - 2 - 3 * 5 - 2
will evaluate to 18
, if __________?int i = 263;
putchar(i);
unsigned i = 1;
int j = -4;
printf("%u",i+j);
2's complement
form)unsigned i = 1;
int j = -4;
printf("%u", i+j);
prints x
then printf("%d", 8*sizeof(int));
outputs an integer that is same as __________. (log in the answers are to the base two)?
for(i = 3; i < 15; i += 3);
printf("%d", i);
for(i = 1; i < 5 ; ++i)
{
if(i == 3)
{
continue;
}
else
{
printf("%d", i);
}
}
int k = -7;
printf("%d", 0 < !k);
for(putchar('c'); putchar('a'); putchar('r'))
{
putchar('t');
}
for(i=1, j=10; i<6; ++i, --j)
{
printf("%d %d", i, j);
}
Having second thoughts for any code related question?
Try executing the code in our Code Playground