Hi
Why can't we use two storage specifier in front of variable
Code:#include <stdio.h> int main() { static register int i = 20; printf("\n %d", i)); return 0; }
Hi
Why can't we use two storage specifier in front of variable
Code:#include <stdio.h> int main() { static register int i = 20; printf("\n %d", i)); return 0; }
It might be helpful to think of the opposite as a thought experiment: what if we could specify two storage classes for a variable? What would auto extern mean?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)