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

Why are all header files not declared in every c program?

592


Explain what is the difference between text files and binary files?

606


What is dangling pointer in c?

614


application attempts to perform an operation?

1487


Why is extern used in c?

606






What is operator promotion?

619


What are the advantages of using Unions?

640


What is structure pointer in c?

565


Explain argument and its types.

591


What is an array? What the different types of arrays in c?

649


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

759


Write a program to check palindrome number in c programming?

591


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1581


Write a program to print ASCII code for a given digit.

677


What is the default value of local and global variables in c?

553