CSecurity
asked on
Creating and initializing public variable
Hello!
Assume I have a code like this:
static void main() {
}
int test() {
}
I want to define a variable in this code which can be accessible from main and int.
Also if I define a variable for example X in main and another X in test, how can I call test's X from main?
Thanks
Assume I have a code like this:
static void main() {
}
int test() {
}
I want to define a variable in this code which can be accessible from main and int.
Also if I define a variable for example X in main and another X in test, how can I call test's X from main?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
is it possible?
>> is it possible?
No it is not possible
No it is not possible
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER