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 static identifier?
What was noalias and what ever happened to it?
What is bubble sort technique in c?
What is wrong with this initialization?
What are the benefits of organizational structure?
What are c identifiers?
Explain how can you restore a redirected standard stream?
What is the difference between abs() and fabs() functions?
What is indirection? How many levels of pointers can you have?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
write a program to create a sparse matrix using dynamic memory allocation.
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Is that possible to store 32768 in an int data type variable?
What functions are used for dynamic memory allocation in c language?
What is a structure and why it is used?