in the above example, source codes of function( ) and main ( ) are in the same file. "c" is a global variable it's declared after main ( ) and before function ( ).
Is it visible in main( )?
since it is declared after main so you can't access it directly in main
The declaration that is above main is usable
btw the code will not be compiled , you are not passing any arg to function
Обсуждают сегодня