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
Explain how do you list files in a directory?
What is a stream in c programming?
What is meant by realloc()?
What is the difference between fread and fwrite function?
Can you apply link and association interchangeably?
What is null pointer constant?
What is the difference between arrays and pointers?
Why are all header files not declared in every c program?
Explain what is the difference between a free-standing and a hosted environment?
What is difference between main and void main?
What is difference between far and near pointers?
Explain pointer. What are function pointers in C?
Describe dynamic data structure in c programming language?
What are categories used for in c?
Are enumerations really portable?