what is the difference between declaration and definition
of a variable or function ?
Answer Posted / ashu_deepu
i will like to add 1 thing abt d variabes.
declaring a variable means
int deepu; //it is declaration
defining means assigning value to the variable.
eg: int deepu=2018; //it is definition
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What is a #include preprocessor?
Can we access the array using a pointer in c language?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What does a pointer variable always consist of?
What does static variable mean in c?
What is the difference between formatted&unformatted i/o functions?
How will you find a duplicate number in a array without negating the nos ?
How can I change the size of the dynamically allocated array?
How many bytes are occupied by near, far and huge pointers (dos)?
What is keyword with example?
How can I find out if there are characters available for reading?
How many types of operators are there in c?
What is selection sort in c?
Do character constants represent numerical values?