

MCQOPTIONS
Saved Bookmarks
1. |
If a procedure fun() is to receive an int, a Single & a double and it is to return a decimal then which of the following is the correct way of defining this procedure? |
A. | <pre><code class="csharp">fun(int i, Single j, double k) decimal { ... }</code></pre> |
B. | <pre><code class="csharp">static decimal fun(int i, Single j, double k) { ... }</code></pre> |
C. | <pre><code class="csharp">fun(int i, Single j, double k) { ... return decimal; }</code></pre> |
D. | <pre><code class="csharp">static decimal fun(int i, Single j, double k) decimal { ... }</code></pre> |
E. | A procedure can never return a value. |
Answer» F. | |