Work in HR or Recruiting?
Qualcomm
www.qualcomm.com San Diego, CA 5000+ Employees
Work in HR? Complete Your Profile

48 interview experiences Back to all Qualcomm Interview Questions & Reviews

Interview Question for Software Engineer at Qualcomm:
Jun 5, 2012

How would you distinguish if the system is big endian or little endian


Add Tags [?]

See more for this Qualcomm Software Engineer Interview

Helpful Question?  
Yes | No
Inappropriate?

Answers & Comments (1)

1 of 1 people found this helpful

Oct 24, 2012

by Anonymous:

bool big_endian(){
      int num=1;
      return *(char*)&num != 1;
}
Helpful Answer?  
Yes | No
Inappropriate?

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.