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

Consider the following:

77 A PIC 9(10)
77 B PIC 9(10)
77 C PIC 9(19)

MULTIPLY AB BY B GIVING C

Which of the following is true ?

(a) The execution of the above may result in size error.
(b) The execution of the above will result in size error.
(c) The definition of C is invalid resulting in compilation
error.
(d) No error will be thee and the program would proceed
correctly.

Answer Posted / prasanna

A and B are two different variables and there is no
variable declared as AB. Do COBOL has enough knowledge to
identify and multiply the vaiable A and the variable B,
then by B giving the result in C. I don't think so.

Kindly correct me if I am wrong..

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in cobol?

1513


How to remove 2 duplicate records and copy only one using job control language?

1261


how can i see junk values in dclgen or in hostvariable of comp ?

3049


How can you get the ksds file records into your cobol program?

1135


how do you reference the variable unblock file formats from cobol programs

1381


what happens if parmparameter passes zero bytes to the program

2183


What is the difference between PIC 9.99 and PIC9v99?

1403


How do get the result of your program directly on your pc?

2395


what is the difference between COBOL2 AND COBOL390?

3112


What is the difference between next sentence and continue in cobol programing language?

1278


how do you define single dimensional array and multidimensional array in your cobol?

1151


how do you reference the ksds vsam file formats from cobol programs

1245


What is the difference between perform … with test after and perform … with test before?

1497


what is the use of outrecord?

2272


how do you reference the fixed unblock file formats from cobol programs

1305