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 / satya
Ya.. it is correct...
you initialized the x as Int..
we have to to initialize it as int...
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
formula to convert 2500mmh2o into m3/hr
What is the difference between null pointer and wild pointer?
Why are algorithms important in c program?
What standard functions are available to manipulate strings?
Differentiate between Macro and ordinary definition.
What is the size of a union variable?
Define Spanning-Tree Protocol (STP)
Tell me what is null pointer in c?
What does the characters “r” and “w” mean when writing programs that will make use of files?
What is scanf () in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What is s or c?
What is the difference between text and binary i/o?
Explain how do you generate random numbers in c?
Explain the difference between ++u and u++?