Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C (http://www.domainnameforum.org/forumdisplay.php?f=124)
-   -   Extern reference to a variable name of different type (http://www.domainnameforum.org/showthread.php?t=127529)

C++ 09-30-2010 05:54 AM

Extern reference to a variable name of different type
 
/*main.c*/ #include extern void func(void); main() { extern int i; printf("i in main %d\n",i); printf("Call to func before modifying i in main...\n"); func();


All times are GMT -4. The time now is 05:43 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.