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
Is a house a shell structure?
pierrot's divisor program using c or c++ code
Explain what is a static function?
what is a function method?give example?
How can I get the current date or time of day in a c program?
Why pointers are used in c?
What is a memory leak? How to avoid it?
What is the most efficient way to count the number of bits which are set in an integer?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
What are the preprocessor categories?
what value is returned to operating system after program execution?
Are the variables argc and argv are always local to main?