WAP – represent a char in binary format
Answer Posted / 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 |
Post New Answer View All Answers
What is LINKED LIST? How can you access the last element in a linked list?
What is assert and when would I use it?
What is return type in c?
What is a program?
What is .obj file in c?
What does 4d mean in c?
When should the volatile modifier be used?
Do pointers take up memory?
When should volatile modifier be used?
Is c object oriented?
Why should I prototype a function?
using only #include
Differentiate between functions getch() and getche().
What is the difference between typedef struct and struct?
Explain can you assign a different address to an array tag?