CBSE BOARD XII, asked by chittijip71, 2 months ago

Assuming, integer is 2 byte,
what will be the output of the
program?
#include<stdio.h>
int main()
{
printf("&x\n", -2<<3);
return 0;
}
1. fff0
2. fff8
3. fff7
4. None of these​

Answers

Answered by JomeyStanly
0

Explanation:

What will be the output of the program?

#include<stdio.h>

int check(int);

int main()

{

int i=45, c;

c = check(i);

printf("%d\n", c);

return 0;

}

int check(int ch)

{

if(ch >= 45)

return 100;

else

return 10;

}

Similar questions