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 |
Where are local variables stored in c?
Does sprintf put null character?
Why shouldn’t I start variable names with underscores?
main() { printf(5+"good morning"); printf("%c","abcdefgh"[4]); }the o/p is morning and e...how someone explain
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
How can a string be converted to a number?
How can I send mail from within a c program?
Write a program to reverse a given number in c language?
What are run-time errors?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Can the “if” function be used in comparing strings?