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 is a char in c?
What is 'bus error'?
What is preprocessor with example?
What is the purpose of scanf() and printf() functions?
Write a progarm to find the length of string using switch case?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
What is difference between && and & in c?
How do I read the arrow keys? What about function keys?
List some of the dynamic data structures in C?
Can a variable be both const and volatile?
Explain how do you declare an array that will hold more than 64kb of data?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What does %p mean c?
write a c program in such a way that if we enter the today date the output should be next day's date.
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3