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


Please Help Members By Posting Answers For Below Questions

How many bytes are occupied by near, far and huge pointers (dos)?

682


What is the translation phases used in c language?

645


What are the different types of constants?

648


Explain what is a const pointer?

645


Explain what is the difference between functions abs() and fabs()?

632






How can I write a function that takes a format string and a variable number of arguments?

613


Explain what is meant by high-order and low-order bytes?

641


Why calloc is better than malloc?

582


What is the value of c?

581


Explain bit masking in c?

646


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2340


Differentiate call by value and call by reference?

575


How do I create a directory? How do I remove a directory (and its contents)?

613


explain how do you use macro?

675


I have seen function declarations that look like this

610