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
Answer / ashutosh tiwari
syntax error: while will never have initialization or
increment. it only have condition.
| Is This Answer Correct ? | 22 Yes | 1 No |
What is the difference between text and binary i/o?
what is the differnce between AF_INET and PF_INET?
5 Answers Systems Plus, Wipro,
What are compound statements?
what is an array
What are the keywords in c?
What are the advantages of c language?
/*program to calculate hra,da in salary if salary less than 10000 then hra15%,da13% otherwise hra20%,da18%/*
simple program for virtual function?
output for following code??? main() { int x=2,y,z; x*=3+2; printf("1.%d\n",x); x*=y=z=4; printf("2.%d %d %d\n",x,y,z); x=y==z; printf("3.%d\n",x); x==(y=z); printf("%d",x); }
What is pass by reference in functions?
how to set Nth bit of a variable?
write a program to find out number of on bits in a number?