19 Reputation Points
Ranked #1K
- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #22.5K
Re:
how to complile and execute a c pro in editplus |
|
Can anyone tell me whether it is allowed to use a Semaphore in a Reentrant function. |
|
Re:
Hi, I am trying to implement the sizeof() programe main() { int a,res; a = sizeOf(a); printf("size=5d\n",res); } int sizeOf( void var) { void *ptr; ptr = &var; return((char*)&ptr[1] - (char*)&ptr[0]); } But this is giving error , so plz check and correct it |
|
I want to pass a 2D matrix to a function in C which modifies the elements of the matrix and the modifications should be effective in the calling function. How to achieve this in C. |