What is diffrance between declaration and defination of a variable or function
Answer Posted / manish soni bca 3rd year jaipu
IN FUNCTION;
-------------------------------------------
1:)DECLARE: int sum(int);//close with semicolon;
2:)DEFINATION: int sum(int n)//not colse with semicolon;
{
//logic of the function;
}
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What's the total generic pointer type?
How do you sort filenames in a directory?
Are the variables argc and argv are always local to main?
What is switch in c?
What is void main ()?
What is static volatile in c?
Explain the properties of union. What is the size of a union variable
Write a C program in Fibonacci series.
Is there any possibility to create customized header file with c programming language?
What is an expression?
I came across some code that puts a (void) cast before each call to printf. Why?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Do pointers need to be initialized?
Are the expressions * ptr ++ and ++ * ptr same?
Is it better to use malloc() or calloc()?