You cannot assign a decimal value to a double variable because the decimal data type allows for much great precision than the double data type.
Correct Answer:
Verified
Q152: Variables having the same name cannot be
Q153: In C#, a variable must be assigned
Q154: A variable of the int data type
Q155: The modulus operator (%) performs division between
Q156: When you assign a double value to
Q158: Because decimal is the preferred data type
Q159: A local variable cannot be accessed by
Q160: When a cast operator is applied to
Q161: Constant names must always be written in
Q162: The using System; directive is required for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents