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


Please Help Members By Posting Answers For Below Questions

What is the function of this pointer?

668


write a program to print largest number of each row of a 2D array

1866


Can we add pointers together?

612


How do you determine a file’s attributes?

598


What is the sizeof () operator?

622






c program for searching a student details among 10 student details

1652


How can I write functions that take a variable number of arguments?

624


What is the sizeof () a pointer?

545


Is return a keyword in c?

595


Is a pointer a kind of array?

598


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

1420


Tell us something about keyword 'auto'.

659


Can you please explain the difference between malloc() and calloc() function?

611


Is c dynamically typed?

665


how can use subset in c program and give more example

1494