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
State two uses of pointers in C?
Write a program to find the biggest number of three numbers in c?
Explain what is the difference between functions abs() and fabs()?
What is enumerated data type in c?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
Define Spanning-Tree Protocol (STP)
Is boolean a datatype in c?
How can I change their mode to binary?
Why do we use static in c?
Explain what are the different file extensions involved when programming in c?
What is omp_num_threads?
What are the types of type specifiers?
What is the easiest sorting method to use?
write a c program to find the sum of five entered numbers using an array named number
I need previous papers of CSC.......plz help out by posting them.......