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

I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


How to print output from openquery in as400 ?

1 Answers   Four soft,


what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?

4 Answers  


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


Need a sql query: retrive all duplicate records in table

3 Answers  


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


How can we change element of compile time array?Can we do so

1 Answers   TCS,


How do you find whether a record is locked or not?

2 Answers  


How do you call procedures in ILE?

3 Answers  


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


are there any useful c runtime apis that I can call from rpg iv?

0 Answers   IBM,


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

0 Answers  


Categories