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 Posted / 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 |
Post New Answer View All Answers
What is the use of in c?
What is the c value paradox and how is it explained?
What is a rvalue?
Is linux written in c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What are the different types of control structures?
Which is best book for data structures in c?
Are the expressions * ptr ++ and ++ * ptr same?
What are the parts of c program?
How does sizeof know array size?
Does c have class?
Why is C language being considered a middle level language?
What is the use of getchar() function?
What is the difference between functions abs() and fabs()?