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
In which layer of the network datastructure format change is done
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
what are the facialities provided by you after the selection of the student.
What are the features of c languages?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Why are all header files not declared in every c program?
What is nested structure with example?
When should the const modifier be used?
Explain c preprocessor?
How can you increase the size of a statically allocated array?
When should a far pointer be used?
What are the types of unary operators?
I came across some code that puts a (void) cast before each call to printf. Why?
Why should I prototype a function?