You have two variables, varA and varB, as shown in the following exhibit:
What is the output of the Write Line activity?
You have two variables, varA and varB, as shown in the following exhibit:
What is the output of the Write Line activity?
In the provided scenario, varA is assigned the string value '123' and varB is assigned the integer value 123. When the Write Line activity concatenates 'varA + varB' and 'varB + varA', the operations are as follows: 'varA + varB' results in the string '123123' since varB is converted to a string and concatenated with varA. Similarly, 'varB + varA' results in '123123' for the same reason. Therefore, the output of the Write Line activity when combining both results is '123123123123'.
if make operation starting without "", then will be operation of adding numbers. If we do the addition starting with the number between the quotes, then the values will be linked as in a proper sentence. Example: varA = "123" varB = 123 varA + varB = 123123 and varB+varA = 246
Ans : B
Answer = 'B', tested in uipath studio
Test in Studio