Hi raghu ,
Thanks for replying. I was just curios if there are any other blatant error .
This is one of the questions I was interviewed last year. I was told by the interviewer that there are around lots error. Thats why , I was curious if there are anyother errors.
User Profile
Collapse
-
Cool ..
Let me make some other points clear ..
The problem is to pass a 2 dimensional array to a function.
From your question I presume you want to pass the array by reference because only that would make sense.
First of all in order to do that you need to understand certain nuances for passing an array.
when you declare
int a [5]
then an memory...Leave a comment:
-
Debugging C - Question
Hi ,
I was once asked to debug the following code. The code is attached as an image file:
I have found the following Bugs but I would like some other thoughts too :
1 ) Should Bool be a defined type then , succeeded should be initialized to False
2 ) Line 28 : if size_t is defined as long in a 64 bit system then its passsed to uint32 which will make it lose higher 32 bits
...
No activity results to display
Show More
Leave a comment: