What is the difference between: x=a+b+c+d; and
x=SUM(a,b,c,d);?sas

Answer Posted / mohana priya.m

x=a+b+c+d --------> This will add the values of a,b,c and d
and finally assign the resulted value into x.


x=sum(a+b+c+d) ---> This will call the library procedure
named sum() in-order to calculate the sum of a,b,c and d.
Both will results in same answer

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to hide prompts

1467


Hi all... I had completed MSC(Computer) and had join the construction company based on sap.they want me to work on abap.but software company is totally different from construction company and they want me 2 grasp it as fast i can.i am finding it difficult.what should i do??????

1411


In mainframe SDSF, Can we copy the list of jobs currently executing in SDSF in to a seperate DATASET...?

1854


Write a shell program. Enter number of days from keyboard. Find out the number of years, month and days it contains

1527


how much fee for deccan soft institute .how to block seat for sandeep sir class reply soonnnn 

1662






smal talk is pure object oriented or not?

1531


What's the difference b/w Table & Templete in Smartform?

1645


what is delegate and delegation model give the real live example on delegate model

2823


What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?

1786


which worker is involved in all the phases of SDLC?

1712


what is web service in java? have u use before.

1639


what is the basic and unique feature of dotnet

1720


how to work search engine? plz detail answer me.

1492


How to merge Action Form with Dyna Action Form in Struts.

1902


how can i create report in abap to insert data in table pa0002 using insert command

1718