[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Interview Questions and Answers :: NEC Technologies

12. 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