main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
Post New Answer View All Answers
What is the use of the function in c?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
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?
What is structure in c language?
What are the restrictions of a modulus operator?
Tell us something about keyword 'auto'.
What is return type in c?
What is scope rule in c?
Do character constants represent numerical values?
How can I automatically locate a programs configuration files in the same directory as the executable?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is a c token and types of c tokens?
Which are low level languages?
What is the explanation for modular programming?
Explain how does flowchart help in writing a program?