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 / rohit
variable X have not been defined. so it has an error...........
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is selection sort in c?
Tell us something about keyword 'auto'.
How to establish connection with oracle database software from c language?
What are header files and explain what are its uses in c programming?
Which function in C can be used to append a string to another string?
How to create struct variables?
How to explain the final year project as a fresher please answer with sample project
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
Explain threaded binary trees?
How can I avoid the abort, retry, fail messages?
What is the scope of local variable in c?
Differentiate between static and dynamic modeling.
Difference between Function to pointer and pointer to function
Is it possible to execute code even after the program exits the main() function?
Without Computer networks, Computers will be half the use. Comment.