Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions
Interview Questions and Answers :: Broadcom Ltd

28. Write a program to change the byte in integer as 0xABABABAB to 0xABABCDAB;

Answer:

unsigned int i=0xABABCDAB;
int b=0;
for(b=31;b>0;b--)
{
if (b<16 && b>7)
i=(1< }
printf("\n NEW i = %X \r\n", i);

Post Your Answer Here:      Public      Private

Rate This: +2 -0
Report     

Post Your Reply Here:     

Report Error

Report Error

Please Login First Click Here