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 the height of tree if leaf node is at level 3. please explain
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
What is static memory allocation? Explain
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is a good data structure to use for storing lines of text?
Do pointers need to be initialized?
How to write c functions that modify head pointer of a linked list?
When would you use a pointer to a function?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
Explain what is the difference between far and near ?
What is meant by operator precedence?
write a program to rearrange the array such way that all even elements should come first and next come odd
What is modifier & how many types of modifiers available in c?
What is string in c language?