exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 2 question 74 discussion

Actual exam question from Microsoft's 70-483
Question #: 74
Topic #: 2
[All 70-483 Questions]

You are developing an application that includes methods named ConvertAmount and TransferFunds.
You need to ensure that the precision and range of the value in the amount variable is not lost when the TransferFunds() method is called.
Which code segment should you use?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Simply use float for the TransferFunds parameter.
Note:
✑ The float keyword signifies a simple type that stores 32-bit floating-point values.
✑ The double keyword signifies a simple type that stores 64-bit floating-point values

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
supersunny
Highly Voted 5 years, 12 months ago
C is the correct option.
upvoted 9 times
...
dominikeps
Most Recent 5 years, 4 months ago
it is C
upvoted 3 times
...
sscooter1010
5 years, 5 months ago
I can't see the whole example for Option D.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...