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
Explain how do you determine the length of a string value that was stored in a variable?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Where is volatile variable stored?
What are header files why are they important?
What is array in c with example?
regarding pointers concept
How do I copy files?
What is an array in c?
Write a program to check armstrong number in c?
why we wont use '&' sing in aceesing the string using scanf
Define VARIABLE?
what are # pragma staments?
What is the best style for code layout in c?
What is the size of structure pointer in c?
What is a scope resolution operator in c?