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; }
Answers were Sorted based on User's Feedback
Answer / 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 |
please send me the code for multiplying sparse matrix using c
Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }
Input any no. and print all the the numbers that comes before it like this for e.g input = 4 0 01 012 0123 01234 plz answer it 2day
Sir i need notes for structure,functions,pointers in c language can you help me please
int x=5; printf("%d%d%d",x,x<<2,x>>2);
What are the advantages and disadvantages of c language?
Why void main is used in c?
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
main difference between c and c++ language
State two uses of pointers in C?
Combinations of fibanocci prime series