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
how to make a scientific calculater ?
Are bit fields portable?
How can I change the size of the dynamically allocated array?
Where does the name "C" come from, anyway?
What is pointer & why it is used?
Explain that why C is procedural?
What does printf does?
What is the explanation for cyclic nature of data types in c?
What is the general form of a C program?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
What is the use of getchar() function?
Write a code on reverse string and its complexity.
what is event driven software and what is procedural driven software?
What is structure padding and packing in c?
What is return type in c?