Hi Devil
  its printing -2 -2. but i thought that it should print 2 2.
  i dont know the reason why - is being preceeded.
  

[email protected] wrote:
  There is 1 message in this issue.

Topics in this digest:

1. PROBLEM
From: The Devil 


________________________________________________________________________
________________________________________________________________________

Message: 1 
Date: Tue, 2 May 2006 23:57:19 -0700 (PDT)
From: The Devil 
Subject: PROBLEM

hi can ay one solve this problem please .
tell me what does this program print & why ??

#include
#include
void main()
{
clrscr();
struct value
{
int bit1 : 2;
int bit2 : 2;
};
struct value v1={2,2};
printf("%d %d",v1.bit1,v1.bit2);
getch();
}




---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

[Non-text portions of this message have been removed]



________________________________________________________________________
________________________________________________________________________


>-----------------------------------------~-~>
CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at 
http://www.eScribe.com/software/C-Paradise/

>------------------------------------------_->



------------------------------------------------------------------------
Yahoo! Groups Links




------------------------------------------------------------------------





                
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2ยข/min or less.

[Non-text portions of this message have been removed]



>-----------------------------------------~-~>
CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at 
http://www.eScribe.com/software/C-Paradise/

>------------------------------------------_->


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/C-Paradise/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to