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


Given the following code, what is the value of RESULT?

DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++
D RESULT S 5 0

C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

Answers were Sorted based on User's Feedback



Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++I..

Answer / anuj

Agreed.. Should be 32.. see below

1. RESULT = (2 + 3 * 2) ** 2 / 2
2. RESULT = (8) ** 2 / 2
3. RESULT = 64 / 2 = 32.

Thanks.

Is This Answer Correct ?    18 Yes 0 No

Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++I..

Answer / prad

32

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More RPG400 Interview Questions

1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?

4 Answers   IBM,


can i use UPDDTA command in rpg program in which contains a file

1 Answers   TCS,


can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E

1 Answers  


CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?

6 Answers   Satyam,


I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....

1 Answers  


What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,


program to find the number of objects used in a given program through a display.

2 Answers   IBM,


IN RLU what are the record level keyword is used?

5 Answers   iGate, TCS,


1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?

5 Answers   Cap Gemini,


Can we found a record existance in a file w/o reading the file?

6 Answers   Traitsys Technologies,


how to retrieve RRN value in RPGLE program

3 Answers  


How we will read call stack?

4 Answers  


Categories