1.

How many Bytes are stored by ‘Long’ Data type in C# .net?(a) 8(b) 4(c) 2(d) 1The question was posed to me during an online interview.My question is from Integer Data Types in chapter Data Types, Variables and Operators of C#

Answer»

Correct CHOICE is (a) 8

Best EXPLANATION: ‘Long’ is the data type keyword used for STORING data of unlimited LENGTH so by definition its size is always maximum i.e 8.



Discussion

No Comment Found

Related InterviewSolutions