main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}

Answer Posted / rahul

5,20,1

Is This Answer Correct ?    50 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the function in c?

594


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

738


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1508


What is structure in c language?

613


What are the restrictions of a modulus operator?

628






Tell us something about keyword 'auto'.

657


What is return type in c?

635


What is scope rule in c?

601


Do character constants represent numerical values?

834


How can I automatically locate a programs configuration files in the same directory as the executable?

624


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1445


What is a c token and types of c tokens?

585


Which are low level languages?

625


What is the explanation for modular programming?

679


Explain how does flowchart help in writing a program?

621