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 are directives in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??
how to find the largest element of array without using relational operater?
Write a code to remove duplicates in a string.
How would you use the functions fseek(), freed(), fwrite() and ftell()?
0 Answers Aspire, Infogain, TISL,
char *p="name"; printf(p);
write a program for egyptian fractions in c?
What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }
What does the function toupper() do?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
what is the differance between pass by reference and pass by value.