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 / mallesh

output is nothing bcz loop is not exists

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how does free() know explain how much memory to release?

549


What is operator promotion?

602


What would be an example of a structure analogous to structure c?

554


Write a program for Overriding.

645


How many loops are there in c?

554






Why cant I open a file by its explicit path?

568


What is static and auto variables in c?

531


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

996


What are external variables in c?

511


What are the application of void data type in c?

647


How can you increase the size of a dynamically allocated array?

614


What are types of structure?

582


What are the advantages and disadvantages of pointers?

552


What is action and transformation in spark?

567


How many levels of pointers have?

569