what is the difference between declaration ,defenetion and
initialization of a variable?
Answer Posted / prakash
Declaration: int a;(does not allocate memory)
Initialisation: a=5;(value is assigned for 'a')
Definition: int a=5;(allocates memory)
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
Explain what is the purpose of "extern" keyword in a function declaration?
What does emoji p mean?
Explain the difference between call by value and call by reference in c language?
What is the difference between break and continue?
What is main function in c?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
How are variables declared in c?
explain what is a newline escape sequence?
What is a floating point in c?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Can variables be declared anywhere in c?
What are the application of c?
Subtract Two Number Without Using Subtraction Operator
What is static memory allocation? Explain