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


Please Help Members By Posting Answers For Below Questions

A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

1695


How can I swap two values without using a temporary?

608


Is c high or low level?

573


What is the time and space complexities of merge sort and when is it preferred over quick sort?

671


please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics

2854






What is the benefit of using #define to declare a constant?

600


What is #define in c?

611


What is operator promotion?

623


What are pointers? What are stacks and queues?

573


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1424


What are examples of structures?

587


How is a structure member accessed?

581


Write a code of a general series where the next element is the sum of last k terms.

585


What is declaration and definition in c?

521


What are loops c?

608