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
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
English,
2 months ago
Art,
2 months ago
Social Sciences,
5 months ago
Hindi,
5 months ago
Math,
11 months ago