Computer Science, asked by luckhishrimondal, 1 month ago

what should be the data type of X variable
x = 1000
byte
short
i n t
strink​

Answers

Answered by samikksri09
1

Answer:

it will be INT data type

Explanation:

string = stores only multiple characters for example = Console.WriteLine("My Name Is Samikk and I am a good boy.") (characters ex. Aa Bb Cc etc.)

wheareas INT datatype will only store the numbers or integers (there are 2 types of Integers = negative integers and positive integers and negative integers ex. are -1,-2,-3 etc. and positive integers ex. 1,2,3 etc.).

and the x variable stores a number and INT datatype stores always a number and 1000 is a number hence, x variable will be an INT datatype and it will be written as(in C# language) int x = 1000;

hope this helps you :)

Answered by mufiahmotors
1

Answer:

Two forms: typeof x or typeo f(x) . Returns a string with the name of the type, like "string" . For null returns "object" – this is an error in the language, it's not actually an object.

Explanation:

hope u have been understood mark me as brainlist

Similar questions