char ch=10;printf("%d",ch);what is the output
Answer Posted / shruti
@Devvvv
every character has an ascii value..
it is not that only 0 - 9 has ascii values.. even 10 , 20
has ascii values.
each and every value has an ascii value..
comming back to the ques:
i think it will give the ascii value of 10...
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Explain what is meant by 'bit masking'?
Explain how do you print an address?
In a switch statement, explain what will happen if a break statement is omitted?
What is a shell structure examples?
What is sizeof array in c?
What is calloc in c?
What is the use of extern in c?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What is the function of this pointer?
What are the types of bitwise operator?
What is printf () in c?
What is far pointer in c?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What is getch () for?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }