in Technology by
What is the difference between variable declaration and variable definition in C-Programming?

1 Answer

0 votes
by
Declaration associates type to the variable whereas definition gives the value to the variable.

Related questions

+1 vote
    Which operator is used to continue the definition of macro in the next line in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    Does a built-in header file contains built-in function definition in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    What are the basic difference between variable and data type in the c? Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    What is true about functions : I) Functions are objects II) Can be assigned to a variable III) Can be anonymous IV) Return value type has ... , III 3. I, II, III, IV 4. I, II, IV...
asked Feb 25, 2021 in Technology by JackTerrance
0 votes
    What is true about functions : I) Functions are objects II) Can be assigned to a variable III) Can be anonymous IV) Return value type has ... , III C) I, II, III, IV D) I, II, IV...
asked Oct 9, 2020 in Technology by JackTerrance
+1 vote
    What is the difference between actual and formal parameters in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    Describe the difference between = and == symbols in C programming?...
asked Nov 8, 2020 in Technology by JackTerrance
+1 vote
    Which operator can be used to access union elements if union variable is a pointer variable in C Programming ?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    Which operator can be used to determine the size of a data type or variable in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    What is a variable in C programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    Which operator is used to receive the variable number of arguments for a function in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    Where an automatic variable is stored in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    What is a static variable in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    Is the following a valid variable definition? var 100apples 1. True 2. False...
asked Feb 23, 2021 in Technology by JackTerrance
0 votes
    Is the following a valid variable definition? var 100apples No Yes...
asked Oct 8, 2020 in Technology by JackTerrance
...