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 break in c?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
Explain Basic concepts of C language?
What is c token?
Explain why c is faster than c++?
There seem to be a few missing operators ..
What is difference between array and structure in c?
Explain what are multidimensional arrays?
Is void a keyword in c?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
How do I swap bytes?
What are the two forms of #include directive?
What language is lisp written in?
What is pointer to pointer in c language?
What is abstract data structure in c?