Evaluate this PeopleCode snippet.Local Array of Number &MyArray;Local Any &Len, &Result;&MyArray = CreateArray(3);&MyArr

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

Evaluate this PeopleCode snippet.Local Array of Number &MyArray;Local Any &Len, &Result;&MyArray = CreateArray(3);&MyArr

Post by answerhappygod »

Evaluate this PeopleCode snippet.Local Array of Number &MyArray;Local Any &Len, &Result;&MyArray = CreateArray(3);&MyArray[1] = 100;&MyArray[2] = 200;&MyArray[3] = 300;&Result = &MyArray.POP();&Len = &MyArray.LEN;&End = &MyArray[&Len];What are the correct values for &Result and &End?

A. &Result is 300 &End is 200
B. &Result is 300 &End is Null
C. &Result is 300 &End is 300
D. &Result is Null &End is 300 E. &Result is 100 &End is 300
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This question has been solved and has 1 reply.

You must be registered to view answers and replies in this topic. Registration is free.


Register Login
 
Post Reply