H
hyderabadblues
Following is an abstract of my code
Compiler is giving me an error at funciton call func1 as argument of
type void * is not compatible with parameter of type VP
typedef void * VP;
struct name
{
int i;
};
void func1(VP* v)
{
}
void main()
{
struct name n1,*n2;
n2=&n1;
func1((void *)&n2); /////////////////
}
Compiler is giving me an error at funciton call func1 as argument of
type void * is not compatible with parameter of type VP
typedef void * VP;
struct name
{
int i;
};
void func1(VP* v)
{
}
void main()
{
struct name n1,*n2;
n2=&n1;
func1((void *)&n2); /////////////////
}