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 |
How can I recover the file name given an open stream?
What is the use of function overloading in C?
You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.
Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .
4 Answers State Bank Of India SBI,
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.
Why do we use int main instead of void main in c?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What is the difference between local variable and global variable in c?
How can I change the size of the dynamically allocated array?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What is the purpose of the preprocessor directive error?