in Education by
What are the basic difference between variable and data type in the c? Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
A variable must have a data type associated with it, for example it can have data types like integer, decimal numbers, characters etc. The variable of type Integer stores integer values and a character type variable stores character value. The primary difference between various data types is their size in memory.

Related questions

0 votes
    which of the following is not a basic step in creating a worksheet? a) Save the workbook b) Modify the ... d) copy the worksheet Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    Answer the following questions: 1. What is data type? Give an example. 2. What is the difference between 19/6 & 19/60. ... a++ & a+ =1. Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    write the statement to convert a number stored in a string variable ‘num’ to a double data type. Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    The basic screen of a computer is called? (a) My network (b) Icon (c) Desktop (d) Recycle bin Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    Multiple Choice Questions 1. Visual Basic is a (a) low-level programming language. (b) medium-level (c) high- ... files of a project. Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    Differentiate between the basic and the advanced on -screen keyboard ? Any 5 points 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 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
    Write error message given by C compiler during compilation if we use %d to print float variable Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    write a program in c++ to interchange 2 values without the 3rd variable. Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    1. In the C programming language to scan the integer type data which of the following is used? %d %f %I %c Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    1. In the C programming language to scan the integer type data which of the following is used? Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
...