Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

i think x initialization wrong.so it has an error...........

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you think of a logic behind the game minesweeper.

2522


What is array of structure in c programming?

1336


What is pass by reference in c?

1242


Is there a way to jump out of a function or functions?

1167


How would you obtain the current time and difference between two times?

1339


Explain how do you determine whether to use a stream function or a low-level function?

1136


Explain what does it mean when a pointer is used in an if statement?

1108


Explain the difference between call by value and call by reference in c language?

1165


Why is c fast?

1122


What is p in text message?

1039


How does placing some code lines between the comment symbol help in debugging the code?

1065


What is the stack in c?

1229


What are the features of c language?

1127


Which header file is used for clrscr?

1108


Why we use stdio h in c?

1099