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 does static variable mean?

1167


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2230


How to write c functions that modify head pointer of a linked list?

1038


How do you define structure?

1093


What is the difference between union and anonymous union?

1376


Are the variables argc and argv are local to main?

1363


Is c still used?

1100


Explain high-order and low-order bytes.

1172


‎How to define structures? · ‎

1149


What is the advantage of using #define to declare a constant?

1158


How do you search data in a data file using random access method?

1362


what are # pragma staments?

2082


Should a function contain a return statement if it does not return a value?

1138


What is the difference between c and python?

1235


How do we open a binary file in Read/Write mode in C?

1278