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

What is c programing language?

1042


What is the use of a ‘’ character?

1027


Can the curly brackets { } be used to enclose a single line of code?

1119


State the difference between x3 and x[3].

1051


What is a pointer variable in c language?

1036


Define macros.

1222


what is uses of .net

1684


What are global variables?

1116


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1227


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1197


Is boolean a datatype in c?

1010


How do you use a pointer to a function?

1026


How can I invoke another program or command and trap its output?

1046


What is bin sh c?

986


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3840