Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the purpose of the code, and is there any problem
with the code?

int f( int n, int l, int r )
{ return (n << l) >> r; }

Answer Posted / guest

first it will call to n and then it will move on l or r, if
it is less then or equal to is there so it will return the
value ..... or else it will print the output

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program for finding factorial of a number.

1037


What is the mean of function?

1075


What are the advantages of Macro over function?

1938


How do you view the path?

1085


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1595


What is header file in c?

1029


What is time complexity c?

951


Explain what math functions are available for integers? For floating point?

1069


Explain continue keyword in c

970


What is size of union in c?

988


What would be an example of a structure analogous to structure c?

952


Explain what happens if you free a pointer twice?

1025


Can you return null in c?

1105


what is ur strangth & weekness

2341


What are control structures? What are the different types?

1046