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
Why is c called a mid-level programming language?
What is the difference between volatile and const volatile?
Is it possible to execute code even after the program exits the main() function?
Is register a keyword in c?
can anyone suggest some site name..where i can get some good data structure puzzles???
What is indirection? How many levels of pointers can you have?
Can 'this' pointer by used in the constructor?
Is there anything like an ifdef for typedefs?
What is function prototype in c with example?
What is meant by recursion?
what will be maximum number of comparisons when number of elements are given?
What is the size of structure pointer in c?
What is a function in c?
In C language, a variable name cannot contain?
What are c preprocessors?