char ch=10;printf("%d",ch);what is the output

Answer Posted / rogerthatrambo

although i know the answer:
what should be output of this:
do it without running.

int main()
{
char ch='48';
printf("%d %c",ch,ch);
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a node in c?

742


What is the size of a union variable?

802


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

925


Explain what is the difference between a free-standing and a hosted environment?

913


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.

5111


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3580


What is the difference between variable declaration and variable definition in c?

819


What is meant by realloc()?

912


Is c language still used?

741


What is a c token and types of c tokens?

824


What is a pointer on a pointer in c programming language?

861


How can this be legal c?

846


What is dangling pointer in c?

823


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

908


Write a program to show the change in position of a cursor using c

834