[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 :: Cisco

3. How to find whether a machine is 32bit or 64 bit? Write code for this..??

Answer:

void Is32BitsOr46Bits()
{
char word = 1;
if((*(char *)& word) == 1 )
printf(“\n Machine is 32 bits”);
else
printf(“\n Machine is 64 bits”);
}

Post Your Answer Here:      Public      Private

Rate This: +0 -0
Report     

Post Your Reply Here:     

Report Error

Report Error

Please Login First Click Here