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
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What is static identifier?
What is clrscr in c?
Explain what are reserved words?
Why #include is used in c language?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
largest Of three Number using without if condition?
Are pointers integers in c?
What is difference between union and structure in c?
What is a nested formula?
Write a code to generate a series where the next element is the sum of last k terms.
What should malloc() do?
How will you delete a node in DLL?
Explain what are the __date__ and __time__ preprocessor commands?
Why & is used in c?