Static char
wer[3][4] =
{"bag","lets","bud"};
char(ptrp[4]
=wer)
the possible output of printF("%d %d", ptr,ptr+1); is
Static char
wer[3][4] =
{"bag","lets","bud"};
char(ptrp[4]
=wer)
The possible output of printf("%d %d",
ptr,ptr+1); is 262,266.
Staticis used with global variables and functions to set their scope to the containing file. In local variables, static is used to store the variable in the statically allocated memory instead of the automatically allocated memory.