C code explanation

Struct marks
{
int p:3;
int c:3;
int m:2;
};
void main()
{
struct marks s={2,-6,5};
printf("%d%d%d",s.p,s.c,s.m);
}

Questions by veerendar.cv

Showing Answers 1 - 6 of 6 Answers

sathish arar

  • Jan 30th, 2012
 

2,-6,5

  Was this answer useful?  Yes

dekcah

  • Feb 5th, 2012
 

2, 2, 1

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions