Re: [algogeeks] Pointer Question

2011-08-12 Thread Sachin Jain
Explanation please On Fri, Aug 12, 2011 at 9:33 AM, Dipankar Patro dip10c...@gmail.com wrote: b. On 11 August 2011 23:20, arvind kumar arvindk...@gmail.com wrote: b. On Thu, Aug 11, 2011 at 11:18 PM, Mani Bharathi manibharat...@gmail.comwrote: int(* fun()) [row][ Col]; What

Re: [algogeeks] Pointer Question

2011-08-12 Thread Prem Krishna Chettri
Ideally Speaking all of the option here seems not matching as this is the function pointer not an ordinary pointer. So the closest match is b but actually its not pointing to any 2 D or 3 D array or somewhat but rather it points to the block of memory starts from the dynamic address of row and

[algogeeks] Pointer Question

2011-08-11 Thread Mani Bharathi
int(* fun()) [row][ Col]; What should be the statement the for the above declarations a.fun() points to a two dimensional array b.pointer *fun() points to a two dimensional array c.pointer *fun() points to 1-dimensional array -- You received this message because you are subscribed to the Google

Re: [algogeeks] Pointer Question

2011-08-11 Thread arvind kumar
b. On Thu, Aug 11, 2011 at 11:18 PM, Mani Bharathi manibharat...@gmail.comwrote: int(* fun()) [row][ Col]; What should be the statement the for the above declarations a.fun() points to a two dimensional array b.pointer *fun() points to a two dimensional array c.pointer *fun() points to

Re: [algogeeks] Pointer Question

2011-08-11 Thread Dipankar Patro
b. On 11 August 2011 23:20, arvind kumar arvindk...@gmail.com wrote: b. On Thu, Aug 11, 2011 at 11:18 PM, Mani Bharathi manibharat...@gmail.comwrote: int(* fun()) [row][ Col]; What should be the statement the for the above declarations a.fun() points to a two dimensional array

[algogeeks] pointer question

2011-08-04 Thread Vijay Khandar
#includestdio.h #includeconio.h void main() { clrscr(); float a=5.375; char *p; int i; p=(char *)a; for(i=0;i=3;i++) printf(%02x,(unsigned char)p[i]); getch(); } O/P-00 00 AC 40 Plz anyone explain me output. Vijay -- You received this message because you are subscribed to the