char ch=10;printf("%d",ch);what is the output
Answer Posted / jj
answer is 49,a character constant can be one character
so ch=10----> here 1 is taken as character,in print
statement it is conv to ascii
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
What does 1f stand for?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Explain what are header files and explain what are its uses in c programming?
Tell me what is null pointer in c?
What is a constant?
Write a program to swap two numbers without using the third variable?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
what is the format specifier for printing a pointer value?
Is it better to bitshift a value than to multiply by 2?
What are the different types of constants?
can we have joblib in a proc ?
What is && in c programming?
How to establish connection with oracle database software from c language?
How can a process change an environment variable in its caller?
Explain zero based addressing.