void main()
{
char c;
while(c=getchar()!='\n')
printf("%d",c);
}
o/p=11 why?
Answer Posted / satya
I Think ascii value of \n is 92.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is formal argument?
what do you mean by enumeration constant?
What is %s and %d in c?
How to compare array with pointer in c?
can anyone please tell about the nested interrupts?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is this infamous null pointer, anyway?
What are unions in c?
What is #include stdio h and #include conio h?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
Is calloc better than malloc?
Explain how can I right-justify a string?
Explain the use of 'auto' keyword
How can I write functions that take a variable number of arguments?
Explain void pointer?