sr.panigrahi
BAN USER
Comments (4)
Reputation 0
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
I think in myMalloc function the parameter passed "int n" should not be bytes to be allocated.
Before allocation it should be properly aligned or padded.(based on the memory manager)
Comment hidden because of low score. Click to expand.
0
of 0 vote
i got a doubt..
Can i use a static function declaration in a .h file (say x.h) & use it through out the file (say i ve multiple .c files) where ever that .h file gets included ???
Comment hidden because of low score. Click to expand.
0
of 0 vote
Wat happens in C ?
I dont think all callbacks are static in C.
If i am wrong please correct me..
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
I partially agree with abhi...
- sr.panigrahi October 13, 2009memory may or may not be same after app completes.
But if the memory leak is high..then may be this procedure ll work out..
As per hmm application crashes...
But i dont think application ll crash easily if memory leak is very little & i ve a huge chuck of memory.....
Coz we saw in our application some times our system crashes in the field after a week coz of memory leak...
So better to use valgrind / purify....