c language Interview Questions

(Posted anonymously by job candidates)

2 Interview Questions: 12 of 2 Sort by  

Dec 1, 2011

Interview Question for Associate Software Engineer at Schweitzer Engineering Laboratories, Inc.:

“char a[] = { 0x0a,0x0b,0x0c,0x0d}
x = *(int)*a++
y = *(int*)a++
A = *a++
B = (*a)++”


Aug 4, 2009

Interview Question for Anonymous at Freescale Semiconductor:

“What does this obfuscated C language statement do?”