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
What is the best organizational structure?
How do you print only part of a string?
What is structure in c definition?
What are disadvantages of C language.
What is a program flowchart and explain how does it help in writing a program?
What is structure padding in c?
Is printf a keyword?
How can you tell whether a program was compiled using c versus c++?
How do you determine whether to use a stream function or a low-level function?
Explain bit masking in c?
Explain what is a pragma?
how to count no of words,characters,lines in a paragraph.
What is an example of structure?
What is the meaning of ?
What does the file stdio.h contain?