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 / bhavani
i think x initialization wrong.so it has an error...........
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you think of a logic behind the game minesweeper.
What is array of structure in c programming?
What is pass by reference in c?
Is there a way to jump out of a function or functions?
How would you obtain the current time and difference between two times?
Explain how do you determine whether to use a stream function or a low-level function?
Explain what does it mean when a pointer is used in an if statement?
Explain the difference between call by value and call by reference in c language?
Why is c fast?
What is p in text message?
How does placing some code lines between the comment symbol help in debugging the code?
What is the stack in c?
What are the features of c language?
Which header file is used for clrscr?
Why we use stdio h in c?