Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Tell me about low level programming languages.

1135


What is the purpose of sprintf() function?

1133


How can you find the day of the week given the date?

1204


What is break in c?

1051


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1890


What is the difference between union and anonymous union?

1311


Do you know pointer in c?

1056


What is sizeof int?

1108


Do you know what are bitwise shift operators in c programming?

1106


Why isn't it being handled properly?

1069


What standard functions are available to manipulate strings?

1156


What is %d called in c?

1236


How can you tell whether two strings are the same?

1258


What will be the outcome of the following conditional statement if the value of variable s is 10?

1296


What is a void pointer in c?

1111