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
Is c a great language, or what?
What is the difference between constant pointer and constant variable?
How can I copy just a portion of a string?
Why c language?
Explain #pragma statements.
Where are local variables stored in c?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What is the use of linkage in c language?
What is a lookup table in c?
What is c language & why it is used?
What is variables in c?
The statement, int(*x[]) () what does in indicate?
What are pointers? What are stacks and queues?
How can you check to see whether a symbol is defined?
What is echo in c programming?