Answer Posted / valli
main()
{
int n;
printf("enter n:");
scanf("%d",&n);
if(n&(1<<5);
printf("5th bit in %d is set",n);
}
Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Why we write conio h in c?
Implement bit Array in C.
Differentiate between Macro and ordinary definition.
What is difference between constant pointer and constant variable?
What are the 5 data types?
How can type-insensitive macros be created?
How many bytes is a struct in c?
What is %lu in c?
What is the use of void pointer and null pointer in c language?
What is pass by reference in functions?
What are the rules for identifiers in c?
a program that can input number of records and can view it again the record
Can a file other than a .h file be included with #include?
Why c is called object oriented language?