How to pass argument properly to func () and increment the pointer to next ?Code:struct msg_rsp
{
int count;
struct info *info_entry;
};
void func()
{
struct msg_rsp *resp;
for (int i = 0; i < resp->count; i++)
{
// How to pass resp->info_entry here to the function func( ) & increment pointer?
func ();
}
}
void func (struct info *entry)
{
..
..
}