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 the use of pointers in C?
Why c is faster than c++?
Subtract Two Number Without Using Subtraction Operator
In which header file is the null macro defined?
Difference between linking and loading?
What are register variables in c?
Explain null pointer.
Explain how do you view the path?
Is swift based on c?
In c language can we compile a program without main() function?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is the difference between union and structure in c?
What are the application of c?
What are examples of structures?
What is an arrays?