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
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What is int main () in c?
Can you return null in c?
What is the difference between malloc() and calloc()?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
Why dont c comments nest?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Why is python slower than c?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
How arrays can be passed to a user defined function
What is context in c?
How do I get an accurate error status return from system on ms-dos?
What is the difference between printf and scanf in c?
write a program in c language to print your bio-data on the screen by using functions.