Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

Answers were Sorted based on User's Feedback

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

x=a+b+c+d will result in a missing value if any one of the
value in a,b,c or d is missing.
x=sum(a,b,c,d) will give the sum assuming the missing value
as '0'

 Is This Answer Correct ? 21 Yes 0 No

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

x=a+b+c+d;->The integer value gets stored in the value x.
x=sum(a,b,c,d);->the return value of the function sum
(a,b,c,d) gets stored in the value x.

 Is This Answer Correct ? 9 Yes 1 No

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

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

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

X=a+b+c+d > it is inline case. The + operator is overloaded
such a way the right side object's value will be added with
the left one and goes on. As is is a inline call the
execution of this statement is faster.

X = sum(a+b+c+d) > here the compiler need a switch to the
location in the memory where this library procedure is
written. And once the whore procedure get execute the
execution control need to shift back to the line. So it is
time consuming task. Also the data type of 'x' depends on
the return type of the sum().

 Is This Answer Correct ? 3 Yes 0 No

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

In x=a+b+c+d we get sum of four integer, but x=sum(a,b,c,d) not get sum of four integer.

 Is This Answer Correct ? 4 Yes 11 No

More Programming Languages AllOther Interview Questions

WHAT IS NV RAM ?

hai i like to do some certifications in programming or any other......... am doing my IT third year......... pls guide me...... mail me ur suggestions to ranjithmaharaj@gmail.com...

why we use static with only main()class not with other class

There are 3 jars containing two types of round marbles. One jar contains only red marbles, one jar contains only blue marbles and the third jar contains a mix of both red and blue marbles. Although the jars are labeled “red”, “blue” and “mixed” – all the jars are mislabeled. How many marbles would you have to pull out, and out of which jars, to find out how to fix the labels correctly?

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

the channel in the data communication model can be? option a.postal mail serv. b telephon lines c.radio signals d. all the above

Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod

. With the help of above table EMP, perform the following operation is sql. a) Add the new column “DEPTNO” b) Rename the table c) Update table d) Modify the table if column ‘SAL’ whose data type is number (10) and you want to enter varchar2 (15) . For example \$USD 20 etc.

WHAT IS THE MEANING OF CONSTANT ...EXEEDS LENGTH LIMIT WHILE COPYING FROM PS FILE TO KSDS

what is the last ant version you worked?how to get it

what is jackson structured develepment?? and how is it different from OMT??

Categories
• C (4646)
• C++ (3460)
• VC++ (653)
• Delphi (566)
• Python Related (3238)
• PHP Related (7341)
• Scala (340)
• R Programming (396)
• Kotlin (184)
• Apache Groovy (39)
• Ruby (245)
• Go Programming Language (139)
• Objective-C (429)
• Programming Languages AllOther (736)