void main()
{
char c;
while(c=getchar()!='\n')
printf("%d",c);
}
o/p=11 why?
Answer Posted / biren
11
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What are identifiers and keywords in c?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What is c system32 taskhostw exe?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
What is the purpose of void pointer?
How can I read a binary data file properly?
What are header files why are they important?
What is the right way to use errno?
How can I do graphics in c?
What are the string functions? List some string functions available in c.
What is %d called in c?
Are negative numbers true in c?
What is logical error?
What is the acronym for ansi?
how to print the character with maximum occurence and print that number of occurence too in a string given ?