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

main()
{
char x;
while(x=0;x<=255;x++)
printf("\nAscii value %d Charater %c",x,x);
}

Answer Posted / ashutosh tiwari

syntax error: while will never have initialization or
increment. it only have condition.

Is This Answer Correct ?    22 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1938


What are 'near' and 'far' pointers?

1045


Explain what is the most efficient way to store flag values?

1232


What is difference between union All statement and Union?

1113


How can I remove the trailing spaces from a string?

1077


How do we print only part of a string in c?

1029


what are bit fields in c?

1721


Describe dynamic data structure in c programming language?

1097


What is the difference between Printf(..) and sprint(...) ?

1540


Explain the difference between call by value and call by reference in c language?

1115


How are variables declared in c?

1103


What are the functions to open and close the file in c language?

1041


Can we access the array using a pointer in c language?

1050


What is the difference between malloc calloc and realloc in c?

1147


What are structure types in C?

1104