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


Please Help Members By Posting Answers For Below Questions

Why is event driven programming or procedural programming, better within specific scenario?

1949


i got 75% in all semester am i eligible for your company

1735


Define recursion in c.

699


Explain the concept and use of type void.

628


What is wrong with this program statement? void = 10;

818






What are global variables?

646


Differentiate between a for loop and a while loop? What are it uses?

671


What does 4d mean in c?

947


What are the different properties of variable number of arguments?

663


Describe wild pointers in c?

638


Why void is used in c?

564


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1136


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

776


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

664


What is dynamic memory allocation?

808