void main()
{
//char ch;
unsigned char ch;
clrscr();
for(ch =0;ch<= 127; ch++)
printf(" %c= %d \t ", ch, ch);
}
output?
Answer Posted / sorab aggarwal
It will print all the characters including(special characters,a to z,A to Z characters)from 0 to 127 range becoz "Ch"variable in unsigned nature so it only deals with positive range not negative ..
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a MAC Address?
Is Exception handling possible in c language?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is a program flowchart and explain how does it help in writing a program?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What is the g value paradox?
What is the value of h?
Explain is it valid to address one element beyond the end of an array?
How many levels of pointers can you have?
Why is sizeof () an operator and not a function?
how to find binary of number?
Why does the call char scanf work?
Is it possible to initialize a variable at the time it was declared?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is type qualifiers?