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

in linking some of os executables are linking name some of them

2200


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2176


What is omp_num_threads?

1133


What are all different types of pointers in c?

1058


What is wrong with this program statement?

1080


write a c program in such a way that if we enter the today date the output should be next day's date.

2238


Why header files are used?

1160


Differentiate fundamental data types and derived data types in C.

1086


What does == mean in texting?

1390


What is table lookup in c?

1144


What is the difference between fread buffer() and fwrite buffer()?

1224


How do you print an address?

1323


What are the types of pointers in c?

1078


How do I read the arrow keys? What about function keys?

1145


Explain main function in c?

1134