main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answer Posted / manish soni tagore collage jai
b<<a=2<<4=32;
and
b>>2=1>>2=0
so
32+0=32
Is This Answer Correct ? | 47 Yes | 5 No |
Post New Answer View All Answers
What is the function of this pointer?
write a program to print largest number of each row of a 2D array
Can we add pointers together?
How do you determine a file’s attributes?
What is the sizeof () operator?
c program for searching a student details among 10 student details
How can I write functions that take a variable number of arguments?
What is the sizeof () a pointer?
Is return a keyword in c?
Is a pointer a kind of array?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
Tell us something about keyword 'auto'.
Can you please explain the difference between malloc() and calloc() function?
Is c dynamically typed?
how can use subset in c program and give more example