Here's some hypothetical pseudocode. I'm trying to understand the relationship between function prototypes and main:
1. Can function prototype A call int x? Or does int x need to be defined in A?Code:
function main{
int x
int y
} // end function main
function prototype A
int a
function prototype B
int b
2. Can function B use int a?
3. Is it possible to call prototype A, return int a to main, and call int a inside prototype B?