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 are different types of variables in c?
Explain how does free() know explain how much memory to release?
What is main return c?
How are Structure passing and returning implemented by the complier?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
Here is a good puzzle: how do you write a program which produces its own source code as output?
What is the difference between procedural and functional programming?
What is the use of pointers in C?
Explain what are the different data types in c?
How was c created?
What is meant by realloc()?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
How do I get an accurate error status return from system on ms-dos?
What is action and transformation in spark?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.