int main()
{
unsigned char a = 0;
do {
printf("%d=%c\n",a,a);
a++;
}while(a!=0);
return 0;
} can anyone please explain me output????
Answer / senthilkumar
unsigned char range 0-255. So.. this program prints 0-255 and also equivalent ascii character. ..program is exit after 255...becz after 255 'a' become 0.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a header file?
whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.
how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--);
how many keywords do C compile?
7 Answers Microsoft, Practical Viva Questions,
What are local static variables? How can you use them?
HOW CAN ADD OUR FUNCTION IN LIBRARY.
Describe how arrays can be passed to a user defined function
Explain what is wrong with this program statement?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Explain Doubly Linked Lists?
How to calculate sum
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters