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 happens if header file is included twice?
Explain function?
c pgm count no of lines , blanks, tabs in a para(File concept)
What is wild pointer in c?
write a program to display the array elements in reverse order in c language
What are preprocessor directives?
How do you redirect a standard stream?
write a program to swap two numbers without using temporary variable?
What is character constants?
What is main void in c?
How are Structure passing and returning implemented by the complier?
why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }