Remove Negative Numbers From A List | Python Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Hi sir good morning
I am having a small doubt
In my code I am calling a function and passing parameters (&struct variable , int )
In called function I am accepting parameters
Like (void *dest, int p)
{
So first I have type casted dest to stuct type like below
(Struct *)dest like this after I need to acces one of the member in struct so I am trying to access (Struct *)dest->member =1; but I am getting an error like not in struct/ union . Can you pls help me where am I going wrong

ramakrishna
Автор

Hi, is there a way to do this with a recursive function?

matthewmajor
Автор

thank you, searched on google how to do this without del, remove or pop and did not find anything.

dom