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

What does typeof return in c?

635


What is typedf?

664


How can I manipulate individual bits?

604


What is a MAC Address?

624


Explain what are the advantages and disadvantages of a heap?

595






What is volatile keyword in c?

577


How do you determine whether to use a stream function or a low-level function?

645


What is pragma c?

607


What is c mainly used for?

593


Explain what are reserved words?

630


Can a pointer be static?

615


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

1756


What is logical error?

603


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

595


Explain pointer. What are function pointers in C?

623