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);
}

Answers were Sorted based on User's Feedback



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

Answer / ashutosh tiwari

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

Is This Answer Correct ?    22 Yes 1 No

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

Answer / abdulhamid

21

Is This Answer Correct ?    3 Yes 16 No

Post New Answer

More C Interview Questions

What is the difference between c &c++?

0 Answers  


Write code for finding depth of tree

2 Answers   Adobe,


what is the return type of printf

3 Answers  


Why static variable is used in c?

0 Answers  


What are the difference between a free-standing and a hosted environment?

0 Answers   Infogain,


Why cant I open a file by its explicit path?

0 Answers  


How can I change their mode to binary?

0 Answers  


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

0 Answers  


What is the real difference between arrays and pointers?

27 Answers   Hexaware, Logic Pro, TCS,


what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


What are pointers? What are stacks and queues?

0 Answers   Hexaware,


#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

3 Answers   SRG,


Categories