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...

n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}

Answer Posted / naresh lingampally

cool!!! ignoring the syntax errors;

n=7623
n/10== 762
result=>762*10+*;


this means that the result itself should be initialized to
'0' so that there would a right output..

So output will be garbage value ...
to my knowledge

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is stack , heap ,code segment,and data segment

2638


What is assert and when would I use it?

967


What is #include stdio h?

1064


What is a c token and types of c tokens?

1014


how is the examination pattern?

1969


Between macros and functions,which is better to use and why?

2118


plz let me know how to become a telecom protocol tester. thank you.

2142


What is the difference between array_name and &array_name?

1242


What is actual argument?

1006


What is an lvalue?

1018


What is difference between main and void main?

1119


What are static variables in c?

1031


How do you define structure?

996


What is unary operator?

1053


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2474