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

Why we write conio h in c?

569


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2539


What is equivalent to ++i+++j?

646


What is void c?

571


I need previous papers of CSC.......plz help out by posting them.......

1818






Can we replace the struct function in tree syntax with a union?

784


What is difference between class and structure?

574


What is difference between function overloading and operator overloading?

664


How are strings stored in c?

598


Differentiate between the = symbol and == symbol?

720


Is it cc or c in a letter?

570


What is putchar() function?

640


How can I list all of the predefined identifiers?

583


What is variable initialization and why is it important?

623


Who developed c language?

644