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

Answer Posted / devvv

this program is gonna give output 10.coz ascii values are
assigned to only 0....9.when we execute printf("%
c",ch);.........the output screen will be blank.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is main return c?

523


What does d mean?

593


What is enumerated data type in c?

633


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

761


How macro execution is faster than function ?

675






What are linked lists in c?

653


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

1773


Explain why C language is procedural?

776


How do you determine the length of a string value that was stored in a variable?

656


What is pass by reference in c?

619


What are the differences between Structures and Arrays?

614


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

724


define string ?

673


how can I convert a string to a number?

604


Write a program to implement queue.

672