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
Why are all header files not declared in every c program?
Explain what is the difference between text files and binary files?
What is dangling pointer in c?
application attempts to perform an operation?
Why is extern used in c?
What is operator promotion?
What are the advantages of using Unions?
What is structure pointer in c?
Explain argument and its types.
What is an array? What the different types of arrays in c?
#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); }
Write a program to check palindrome number in c programming?
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..
Write a program to print ASCII code for a given digit.
What is the default value of local and global variables in c?