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
where are auto variables stored? What are the characteristics of an auto variable?
What is include directive in c?
How are variables declared in c?
What is the difference between call by value and call by reference in c?
What are the difference between a free-standing and a hosted environment?
How can I do graphics in c?
Explain the difference between getch() and getche() in c?
What does printf does?
What is the significance of an algorithm to C programming?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What are the different types of objects used in c?
What is difference between constant pointer and constant variable?
What is the size of enum in bytes?
Where does the name "C" come from, anyway?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer