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
Write a program to check whether a number is prime or not using c?
differentiate built-in functions and user – defined functions.
What oops means?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
what is ur strangth & weekness
Tell me what is null pointer in c?
what is the difference between 123 and 0123 in c?
What is break in c?
Can a void pointer point to a function?
write a program to find the given number is prime or not
What are the 4 data types?
What is the difference between array and linked list in c?
number of times a digit is present in a number
What are different types of operators?
Explain the array representation of a binary tree in C.