Can I create a function which produces a new static pointer at each call?
struct a{
//something
}
void function(){
struct a* head; //I want every time i call function();
// to create a new static pointer
}
Can I create a function which produces a new static pointer at each call?
struct a{
//something
}
void function(){
struct a* head; //I want every time i call function();
// to create a new static pointer
}