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 is scope rule of function in c?
read an array and search an element
Should I learn data structures in c or python?
what is C?
value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What does the message "warning: macro replacement within a string literal" mean?
What are the types of data files?
Is null always defined as 0(zero)?
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
hi how to convert program from notepad to turboc editor can u please help me
Explain what is the purpose of "extern" keyword in a function declaration?