what is the difference between definition and declaration?
give me some examples.
Answer Posted / code00002
A declaration introduces an identifier and describes its
type, be it a type, object, or function. A declaration is
what the compiler needs to accept references to that
identifier. These are declarations:
extern int bar;
extern int g(int, int);
double f(int, double); // extern can be omitted for function
declarations
class foo; // no extern allowed for class declarations
complete on http://answerwale.co.cc/?p=39#comment-23
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Explain how are 16- and 32-bit numbers stored?
Why can arithmetic operations not be performed on void pointers?
What is an array in c?
Explain a pre-processor and its advantages.
What is c system32 taskhostw exe?
What is the difference between if else and switchstatement
What are the different types of control structures?
How can you increase the size of a dynamically allocated array?
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
What is the function of multilevel pointer in c?
What are the 3 types of structures?
What is a node in c?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
How can I recover the file name given an open stream?
How do I round numbers?