C#.NET Multiple choices


Total available count: 28
Subject - Microsoft Technologies
Subsubject - C#.NET

What is the difference between long and double?


 

 

 

 



D


Solution:-

Long is a signed 64-bit integer value and Double is a 64-bit floating-point value. 
A simple answer is that double is only accurate to 15-16 total digits, as opposed to long which (as an integer type) has an absolute accuracy within an explicit digit limit, in this case, 19 digits.

1. LONG stores numbers as numeric values, including decimal, fractional, and whole numbers
2. DOUBLE stores double-precision floating-point number values. STRING stores alphanumeric characters as text




Next 5 multiple choice(s)

1

Which of the following is not a built-in reference type?

2

What is the difference between uint and int?

3

What is the type of long keyword in C#?

4

The float keyword .net framework type?

5

A float point expression cannot contain the following sets of values...

Comments