sanjeev sharma


{ City } dehli
< Country > india
* Profession *
User No # 79247
Total Questions Posted # 0
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 13
Questions / { sanjeev sharma }
Questions Answers Category Views Company eMail




Answers / { sanjeev sharma }

Question { TCS, 17613 }

Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);

No. of times the loop is executed ?


Answer

this loop is executed at 254 times.

Is This Answer Correct ?    2 Yes 7 No

Question { Ramco, 15493 }

main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}

what is the output?


Answer

5
50
1

Is This Answer Correct ?    0 Yes 6 No


Question { 4878 }

what is the size of an integer variable?


Answer

size of integer variable is 2 bytes or 16 bits.

Is This Answer Correct ?    0 Yes 0 No