(Paper) e-Smart Systems Job Interview Placement Paper Pattern

Job Interview, Question Paper Writeup

What will be the output of following program?

main( )
{
if ((1||0) && (0||1))
{
printf("OK I am done.");
}
else
{
printf(“OK I am done.”);
}
}

Output of following program?main()
{
signed int bit=512, i=5;
for
(;i;i--)
{
printf("%d\n", bit = (bit >> (i - (i -1))));
}
}
 some bitwise questions.

Company Name: e-smart systems pvt ltd
Contributor Name:
Vishal
No of Rounds:
Screening Test