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
How many keywords are there in c?
write a program to concatenation the string using switch case?
How do you generate random numbers in C?
What are the advantage of c language?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
Subtract Two Number Without Using Subtraction Operator
What are enums in c?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
Why doesnt that code work?
What is page thrashing?
How are variables declared in c?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
Explain what standard functions are available to manipulate strings?
What are the advantages of Macro over function?
What is the use of printf() and scanf() functions?