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 / mani
it has some error............
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Why static variable is used in c?
How reliable are floating-point comparisons?
Explain the priority queues?
How to declare a variable?
Does c have an equivalent to pascals with statement?
what is the diffrenet bettwen HTTP and internet protocol
How can you find the exact size of a data type in c?
What is difference between structure and union in c?
What are type modifiers in c?
how to capitalise first letter of each word in a given string?
Why & is used in scanf in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is oops c?
How can you tell whether a program was compiled using c versus c++?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..