main()
{
char x;
while(x=0;x<=255;x++)
printf("\nAscii value %d Charater %c",x,x);
}

Answer Posted / ashutosh tiwari

syntax error: while will never have initialization or
increment. it only have condition.

Is This Answer Correct ?    22 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope of static variable in c?

541


Why is c used in embedded systems?

621


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

1634


Using which language Test cases are added in .ptu file of RTRT unit testing???

3611


Explain what is a static function?

639






Can a pointer be null?

572


What do header files do?

613


What will be your course of action for a push operation?

671


can any one tel me wt is the question pattern for NIC exam

1569


Subtract Two Number Without Using Subtraction Operator

364


What are compound statements?

641


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1441


differentiate built-in functions and user – defined functions.

643


Write the syntax and purpose of a switch statement in C.

635


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

618