NetApp Interview Report
- 0of 0 votes
Answersvoid func( int *p) { // Add code to print MEMORY SIZE which is pointed by pointer P. } int main() { int *p = (int *) malloc (10); f(p); }
How can we find MEMORY SIZE from memory pointer P in func() ?
- FIGHTER October 02, 2010| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer C - 0of 0 votes
AnswersProcess has some 10 threads and all 10 threads entered DEADLOCK state. How can you free process(threads) from DEADLOCK state ? . Is there any way to kill lower priority thread ? . Can we attach that deadlocked process to the debugger and assign proper value to the Mutex variable ( assume all the threads are waiting on a mutex variable MUT but it is value is 0 and can we assign MUT value to 1 through debugger ) .
- FIGHTER October 02, 2010| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Operating System - 0of 0 votes
AnswersHow MEMORY TOOLS (Valgrind , Purify ) detects memory leaks and memory corruptions ?. Interviewer asked me to write a function MEMORY_MONITOR() which should provide memory leaks information .
- FIGHTER October 02, 2010| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Algorithm - 0of 0 votes
Answerswrite paranthesis matching code and to find palindrome .
- gubi August 09, 2011| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer