void main()
{
char c;
while(c=getchar()!='\n')
printf("%d",c);
}
o/p=11 why?
Answer Posted / abdul qadir
11 is a garbage value at address in memory
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
Tell me about low level programming languages.
What is the purpose of sprintf() function?
How can you find the day of the week given the date?
What is break in c?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is the difference between union and anonymous union?
Do you know pointer in c?
What is sizeof int?
Do you know what are bitwise shift operators in c programming?
Why isn't it being handled properly?
What standard functions are available to manipulate strings?
What is %d called in c?
How can you tell whether two strings are the same?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What is a void pointer in c?