in Technology by

Is that possible to store 32768 in an int data type variable?

1 Answer

0 votes
by

Int data type is only capable of storing values between – 32768 to 32767. To store 32768 a modifier needs to used with the int data type. Long Int can use and also if there are no negative values, unsigned int is also possible to use.

Related questions

0 votes
0 votes
    Is it possible to store a huge amount of data in a memory engine using Tableau? If yes, how can we achieve that?...
asked Oct 30, 2020 in Technology by JackTerrance
0 votes
    Can anyone tell me what is the largest value of an int data type in the python? Select the correct answer from above options...
asked Jan 8, 2022 in Education by JackTerrance
0 votes
    Raja is paying 12% of his salary to income tax. To store the tax details, an variable named “It” is used. What would be its data type? Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    Which type of cache reference locality aims at designing cache to store Recently Referenced Data assuming that the same ... (3)Spatial Locality (4)None of the options mentioned...
asked Oct 6, 2020 in Technology by JackTerrance
0 votes
    2. Size of int data type in java. . A32 and 64 B64and64 C32 and 32 D64and 32 Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    a,b,c and d are int type, however, the expression is slightly modified as (a+b*c-d)/7.0. ... of the following mathematical expression? Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    a,b,c and d are int type, however, the expression is slightly modified as (a+b*c-d)/7.0. ... of the following mathematical expression? Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    Which of these is a wrapper for data type int? (a) Integer (b) Long (c) Byte (d) Double This ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    The range of INTEGER or INT data type is _____________. Please select the correct options from below (a)-32,768 to 32,767 (b)None ... 854,775,807 (d)-2,147,483,648 to 2,147,483,647...
asked Dec 11, 2020 in Education by Editorial Staff
0 votes
    8)Which type of cache reference locality aims at designing cache to store the entire block near the Recently Referenced Data? (a) ... I & II (3)None of the options mentioned (4)II...
asked Oct 6, 2020 in Technology by JackTerrance
0 votes
    In which type of cache, application treats cache as the main data store and reads data from it and writes data to it? (a) Read ... (b)None of the options mentioned (c)II (d)I & II...
asked Oct 6, 2020 in Technology by JackTerrance
0 votes
    You need to store the seasonal data in months and years. Which data type should you use? Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    the ……………… data type can be used to store the email address Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
...