what is the output of the following program?
#include<stdio.h>
void main()
{
float x=1.1;
while(x==1.1)
{
printf("\n%f",x);
x=x-0.1;
}
}
Answer Posted / gangadhar
first time loop will satisfy and second time loop will
not satisfy bcoz x become zero....
| Is This Answer Correct ? | 0 Yes | 17 No |
Post New Answer View All Answers
Why we use break in c?
What are the types of macro formats?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
What is the use of function overloading in C?
What is the most efficient way to store flag values?
Write a code of a general series where the next element is the sum of last k terms.
Why C language is a procedural language?
What is the difference between ++a and a++?
What is difference between constant pointer and constant variable?
Why we use void main in c?
Explain how are portions of a program disabled in demo versions?
What is a rvalue?
What are the rules for the identifier?