main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answers were Sorted based on User's Feedback
Answer / vineetha
tell this answer and mail to this id vachika90@gmail.com
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / sanjay bhosale
statement a=b<<a + b>>2;
will be treated as
a=(b<<(a+b))>>2;
and gives output 32.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / a.jayashree
ans is=10;
if its wrong give me right ans to jshree20@gmail.com
Is This Answer Correct ? | 0 Yes | 2 No |
What functions are used for dynamic memory allocation in c language?
How to use c/c++ code in JAVA
10 Answers CDAC, IBM, Satyam, Scope International,
What is the difference between c &c++?
what is constant pointer?
array of pointer pointer to array pointer to pointer
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?
a linear linked list such that the link field of its last node points to the first node instead of containing NULL a) linked list b) circular linked list c) sequential linked list d) none
Do you know the purpose of 'register' keyword?
Write program to remove duplicate in an array?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Write a code to generate divisors of an integer?
What is difference between union All statement and Union?