what is output of the following statetment?Printf(“%x”,
-1<<4); ?
Answer Posted / ankurmohansharma
In case of 16- bit compiler answer will be fff0
In case of 32-bit compiler answer will be fffffff0.
Reason being same as of above two
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
how to introdu5ce my self in serco
Is null a keyword in c?
What is an auto variable in c?
Why are all header files not declared in every c program?
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?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What does %d do?
Explain how does flowchart help in writing a program?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
When c language was developed?
Explain what is wrong with this program statement?
Why string is used in c?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
define string ?