main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}

Answer Posted / aravind

It shows syntax error because relational operators are used only for checking conditions.

Is This Answer Correct ?    8 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use strcmp?

651


What is a volatile keyword in c?

649


How many data structures are there in c?

625


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9665


What is the purpose of the statement: strcat (S2, S1)?

648






How can you increase the size of a dynamically allocated array?

655


Why do we use namespace feature?

590


Why header files are used?

656


Process by which one bit pattern in to another by bit wise operation is?

624


What is the auto keyword good for?

636


What is the difference between the expression “++a” and “a++”?

660


What is c method?

545


write a program to rearrange the array such way that all even elements should come first and next come odd

1770


What is NULL pointer?

684


Which is best book for data structures in c?

607