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

How was c created?

833


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

2293


What is wild pointer in c?

841


How will you delete a node in DLL?

968


What is hashing in c?

923


What do you know about the use of bit field?

844


What do mean by network ?

919


What does %c mean in c?

874


Tell us bitwise shift operators?

831


I have a varargs function which accepts a float parameter?

825


What is bubble sort in c?

853


What is the basic structure of c?

812


Why c is a procedural language?

834


Can you think of a logic behind the game minesweeper.

2248


What is FIFO?

1201