WAP – represent a char in binary format
Answers were Sorted based on User's Feedback
Answer / vinayml
main()
{
char p = 'a' ;
int i = 0 ;
for( i = 0 ; i < 8 ; i++)
( p & (1 << i )) ?printf ("1"): printf("1");
}
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / johnson
?eh? this doesn't make sense. The answer will obviously be
11111111.
Is This Answer Correct ? | 0 Yes | 0 No |
will the program compile? int i; scanf(ā%dā,i); printf(ā%dā,i);
Explain what is operator promotion?
How. To pass the entrance test
write a program for odd numbers?
LOGIC OF Bodmas?
what is object oriental programing?
What is optimization in c?
what is the difference between structure and union?
const char * char * const What is the differnce between the above tow?.
what is meant by the "equivalence of pointers and arrays" in C?
write a program to generate address labels using structures?
program to find the ASCII value of a number