my code:
Code:struct N { int i; int j; } void test() { N p; int a=0; } main() { test(); // my question: run to here the variable a and p whether is free? }
my code:
Code:struct N { int i; int j; } void test() { N p; int a=0; } main() { test(); // my question: run to here the variable a and p whether is free? }
Please restate your question in a more comprehensible manner.
Thanks for using code tags.
Yes, I don't understand your question either.
Also your code is invalid. You need a ; after the closing brace of your struct declaration, and you must make the declaration in test() "struct N p;", not just "N p;" unless you make a typedef.
Your commented line "my question: run to here the variable a and p whether is free?" is baffling, everything is a valid word or identifier, but it makes no sense.