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
What does the file stdio.h contain?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
How are pointers declared in c?
How old is c programming language?
Explain void pointer?
Explain what is the benefit of using const for declaring constants?
What is use of integral promotions in c?
What is the general form of function in c?
What are the two forms of #include directive?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
State two uses of pointers in C?
How can I copy just a portion of a string?
Can include files be nested? How many levels deep can include files be nested?
What are variables c?
What is difference between stdio h and conio h?