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 / 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

What are identifiers and keywords in c?

1198


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1408


What is c system32 taskhostw exe?

1071


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1204


What is the purpose of void pointer?

1100


How can I read a binary data file properly?

1247


What are header files why are they important?

1152


What is the right way to use errno?

1115


How can I do graphics in c?

1070


What are the string functions? List some string functions available in c.

1041


What is %d called in c?

1281


Are negative numbers true in c?

1108


What is logical error?

1187


What is the acronym for ansi?

1105


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2530