Home »
MCQs »
AngularJS MCQs
Consider the below statement – what will be the output (1)?
22. Consider the below statement – what will be the output?
<div data-ng-app="" data-ng-init="qty=3;price=2.5">
<p>The result is: {{qty * price}}</p>
</div>
- The result is: 7.5
- The result is: 7
- The result is: 7.50
- The result is: 3*2.5
Answer: A) The result is: 7.5
Explanation:
The output of the above statement is: The result is: 7.5