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 |
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
What is equivalent to ++i+++j?
write a c program to calculate the income tax of the employees in an organization where the conditions are given as. (I.T. = 0 if income <100000 I.T = 10% if income _< 200000 it = 20% if income >_ 200000)
7 Answers Consultancy, DBU, FD, JK Associates, Kobe, Satyam,
What is return in c programming?
which one low Priority in c? a)=,b)++,c)==,d)+
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
what is ANSI and ISO
What is the difference between File pointer and Internal Charecter Pointer?
what is the use of #pragma pack, wer it is used?
What is the difference b/w main() in C language and main() in C++.
whats the use of header file in c?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?