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 are the basic data types associated with c?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What are the 4 types of organizational structures?
Explain what are run-time errors?
Can we change the value of #define in c?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
Explain bitwise shift operators?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What is meant by type specifiers?
Is there a way to jump out of a function or functions?
Where in memory are my variables stored?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
Which is the best website to learn c programming?