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

What is calloc in c?

874


How to declare pointer variables?

888


What does c in a circle mean?

757


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3533


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

959


What is ctrl c called?

775


How can I invoke another program or command and trap its output?

842


What is the use of bitwise operator?

869


Explain about the functions strcat() and strcmp()?

779


What is the use of pointers in C?

828


What is the difference between union and anonymous union?

1028


What is || operator and how does it function in a program?

835


Explain how can you restore a redirected standard stream?

773


FILE PROGRAMMING

1977


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2144