Use a variable before it's declaration

Rock Lee rocklee_104 at outlook.com
Thu Sep 10 04:58:51 EDT 2015


> Sure.  That's a completely different issue. But this works:
>
> extern int b;
> int *a = &b;
> int b = 20;
>
> int main(void)
> {
>   	return 0;
> }
>
> and that's what the code you refer do does.

Yes, that make sense, thanks very much :-)
-- 
Rock Lee



More information about the Kernelnewbies mailing list