Filter interviews by
I applied via Naukri.com and was interviewed before Jan 2021. There were 3 interview rounds.
Memory leak is a situation where a program fails to release memory that is no longer needed, leading to memory exhaustion.
Memory leak occurs when dynamically allocated memory is not deallocated after it is no longer needed.
It can happen when a program forgets to free memory or loses track of memory addresses.
Memory leaks can gradually consume all available memory, causing the program to crash or slow down.
Examples of m...
A wild pointer is a pointer that points to an invalid memory address.
Wild pointers can cause program crashes or unexpected behavior.
They occur when a pointer is not initialized or is freed and then used again.
Example: int *ptr; *ptr = 5; //ptr is a wild pointer
To avoid wild pointers, always initialize pointers and avoid using freed memory.
Top trending discussions
based on 1 review
Rating in categories
Software Engineer
14
salaries
| ₹1.7 L/yr - ₹5 L/yr |
Business Development Executive
11
salaries
| ₹2 L/yr - ₹3.6 L/yr |
Java Developer
11
salaries
| ₹1.8 L/yr - ₹4.8 L/yr |
Software Developer
10
salaries
| ₹0.6 L/yr - ₹4 L/yr |
Trainee
10
salaries
| ₹1 L/yr - ₹2.2 L/yr |
HCLTech
TCS
Wipro
Infosys