I got a call from HR, and had an interview for around 40 minutes (general queations). After 2 weeks around got a mail for personal interview at the company's office. Personal interview went for 3+ hours. Started from 8.15 am till 11. 35am. It went in 3 steps:-
1. A c test
2. Interview with seniior software engineer and software engineer
3. Interview with departmental manager
In the c test, they had 5 questions, 4 + 1 (bonus... thats wht they called).
Q1- define keywords static, volatile and register.
Q2- reverse the string without using memory allocation.
Q3- MAX (a,b) a>b ? a:b
main(
i =2;
j=3;
p = MAX(i++,--j);
j++;
Q= MAX (++i, j--);
find the value of i,j,p,q
Q4 - write a program, how to find if the address in stack is growing tomards higher address or lower address.
Q5 (bonus ques on C++) - some big program which had errors and had to find error. (memory leakage erros were there)