Hi all,
I am curious to know if we can set the pointer to string, a static through-out the program!!
Can we do that? Any suggestion please.
Thanks a lot in advance.
Palku
Hi all,
I am curious to know if we can set the pointer to string, a static through-out the program!!
Can we do that? Any suggestion please.
Thanks a lot in advance.
Palku
Surely by "throughout the program", you mean it persists the lifetime, not scope?Code:static char* example;
Thanks a lot!!!!!!
)
It shows I m really newbe
)