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
What is printf () in c?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
What is the purpose of the statement: strcat (S2, S1)?
Can a local variable be volatile in c?
write a program to find the given number is prime or not
Explain can you assign a different address to an array tag?
What are pointers?
What are the two forms of #include directive?
How can you access memory located at a certain address?
What language is lisp written in?
What is a structure and why it is used?
What is string in c language?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.