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

Write a simple code fragment that will check if a number is positive or negative.

1099


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

1004


What is getch () for?

1144


Can you please explain the difference between syntax vs logical error?

1133


What are # preprocessor operator in c?

1043


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1645


Explain what is operator promotion?

1023


Can 'this' pointer by used in the constructor?

1043


Difference between exit() and _exit() function?

1075


Is anything faster than c?

968


What is define directive?

1073


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2365


Why is c called c not d or e?

1047


What is c system32 taskhostw exe?

974


What is the difference between abs() and fabs() functions?

1059