Interview was very tough, expect to know every basic and tiny little of 'C' programming, i guess i did not study well, so i did not clear the phone interview
1. say u have 3 files, and a header file which has a static variable declaration in it. you include the header file in the 3 files.. what happens... u get any error or what would happen to the system, and from here on the question flow continues.
2. say you have a 32 bit system, and structure with char, int and double variables. what is the size of structure. again from here on question continues on memory alignment. how is alignment usually performed. and how do you force the structure to have the exact size removing the alignment.
3. program to find little and big endian(yes it was only phone interview) - well this is just 1 line expression anyways..