main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answers were Sorted based on User's Feedback
What are the benefits of c language?
write a c program for swapping two strings using pointer
What does %d do?
Who is invented by c?
Bit swapping
different between overloading and overriding
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }
What is logical error?
What do you mean by scope of a variable in c?
WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?
6 Answers Finite Infotech, Lovely Professional University, Wipro,
Can you please explain the difference between syntax vs logical error?
Do you know null pointer?