what is the difference between definition and declaration?
give me some examples.
Answer Posted / mohammed anas
declaration:
for example,int i;
definition:
declaration as well as initialisation is known as definition
for example int i=25;
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Write a program to print numbers from 1 to 100 without using loop in c?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
Between macros and functions,which is better to use and why?
What are the benefits of organizational structure?
Add Two Numbers Without Using the Addition Operator
Are there constructors in c?
Does c have an equivalent to pascals with statement?
What is hashing in c language?
What are the basic data types associated with c?
What are inbuilt functions in c?
Can we use any name in place of argv and argc as command line arguments?
What is difference between structure and union with example?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above