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 boolean in c?
What is pointers in c with example?
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?
25 Answers Datamatics, Solartis, TCS, ThinkBox, Trine,
what's the return value of malloc()
How do I get a null pointer in my programs?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
how to do in place reversal of a linked list(singly or doubly)?
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
What is a floating point in c?
What is return in c programming?
Explain the difference between strcpy() and memcpy() function?