Tricky and conceptual Questions about malloc, free etc few of them are 1 . What happens if we execute below code? Char* p while(1) p=(char *)malloc(100*sizeof(char) ) 2.free(p), free(p+10) how much memory will be freed in both cases?
Be the first one to answer
Add answer anonymously...
Top Rovi Associate Software Engineer interview questions & answers
Popular interview questions of Associate Software Engineer
Top HR questions asked in Rovi Associate Software Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app