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
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...
What is %lu in c?
What is c programming structure?
What are loops in c?
List the difference between a While & Do While loops?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is difference between structure and union?
What is header file in c?
What are control structures? What are the different types?
#include
Why can arithmetic operations not be performed on void pointers?
What is the difference between %d and %i?
What is putchar() function?
What is difference between class and structure?
What is static and volatile in c?