J
jof
struct name
{
char ch;
} *ptr1,*ptr2;
If this is my structure and if i need to store the address of the pointers
ptr1 and ptr2 in an array say "del"..how do i do it?
is it right if:
struct name
{
char ch;
}*ptr1,*ptr2,*del[5];
and in the main:
del[0]=ptr1;
giving me error--it says teh subscripted value is neither an array nor a
pointer!!!
{
char ch;
} *ptr1,*ptr2;
If this is my structure and if i need to store the address of the pointers
ptr1 and ptr2 in an array say "del"..how do i do it?
is it right if:
struct name
{
char ch;
}*ptr1,*ptr2,*del[5];
and in the main:
del[0]=ptr1;
giving me error--it says teh subscripted value is neither an array nor a
pointer!!!