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
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What is #define?
Are the outer parentheses in return statements really optional?
what is the function of pragma directive in c?
Explain what is the heap?
What is the size of enum in c?
What are local variables c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is static identifier?
Write a program to check palindrome number in c programming?
Differentiate Source Codes from Object Codes
What is wrong in this statement?
What is #include conio h?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
can we implement multi-threads in c.