a<<1 is equivalent to
a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the
above
Answers were Sorted based on User's Feedback
Answer / dev
left shift by 1 so the ans would be none of this..... it is
complementing
| Is This Answer Correct ? | 8 Yes | 15 No |
What is assert and when would I use it?
what is the definition of storage classes?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What is a nested loop?
application attempts to perform an operation?
How can I find out how much memory is available?
what is the function of .h in #include<stdio.h> in c ?
23 Answers HCL, IBM, Wipro,
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Write a C program where input is: "My name is xyz". output is: "xyz is name My".
What is getch () for?
What are the differences between new and malloc in C?
can u give me the good and very optimised code for a car racing game?