Bit Field Problem
Consider the declaration:
struct num A;
It gave output 0,that's fine.
Now consider the declaration :
It gave error that code a:1 has no effect and that a is undefined.
with reference to the above i am Bit Confused about structure!!!That what structure has done in the first code,and why error in the absence of structure occured???
Re: Bit Field Problem
I think the error should occur for first one as well but a:1 cannot be a variable declaration or at least I don't know if such things can be defined.
|All times are GMT +5.5. The time now is 08:03.|