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 |
How do I get an accurate error status return from system on ms-dos?
write a function for strtok()??
The differences between Windows XP and Windows Visa
Are there any problems with performing mathematical operations on different variable types?
What is the use of a static variable in c?
Why we use conio h in c?
Explain how can you determine the size of an allocated portion of memory?
Explain what is the difference between a free-standing and a hosted environment?
Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)
Write a function that will take in a phone number and output all possible alphabetical combinations
du u know test pattern for robosoft? Plz share
1 Answers RoboSoft, TATA, Wipro,
Can we access the array using a pointer in c language?