The process took 1 day. I interviewed at Broadcom (Matawan, NJ) in Jun 2012
Interview
Questions on resume, projects done and basics of C and C++
Interview questions [1]
Question 1
Question on allocating memory pointers inside a function. A pointer variable is passed as a parameter to a function. Memory allocation is done inside the function for the pointer using malloc. After coming out of the function, will the pointer still retain this address in the main program?