B
Bangalore
Hi,
Like fundamental data types (int,char,float,...),why can't we are
not able to make userdefined datatypes as extern.
if "file1.C" conatains
struct a
{
int x;
} b = { 3 };
and in "file2.C" if I want to access b.x, by making
extern struct a b;
the compiler will flash error.
Thanks
Bangalore. :lol:
Like fundamental data types (int,char,float,...),why can't we are
not able to make userdefined datatypes as extern.
if "file1.C" conatains
struct a
{
int x;
} b = { 3 };
and in "file2.C" if I want to access b.x, by making
extern struct a b;
the compiler will flash error.
Thanks
Bangalore. :lol: