1. What will be the output of the following programs.
a) #include <stdio.h>
Main()
{
Int x=4;
While(x==1)
{
X=x-1;
Printf(ā%dā,x);
--x;
}
}
Answer Posted / mallesh
output is nothing bcz loop is not exists
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is this program statement valid? INT = 10.50;
What are the types of i/o functions?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Should I learn c before c++?
Why are all header files not declared in every c program?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Can we assign integer value to char in c?
What is clrscr in c?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is || operator and how does it function in a program?
How does normalization of huge pointer works?
What is array in c with example?
Explain union. What are its advantages?
Simplify the program segment if X = B then C ← true else C ← false
What is the mean of function?