Difference between Declaration and Definition ?

January 9, 2025 1 Comment » Hits : 398





DeclarationDefinition
  1. Space is Not Reserved
  2. Identifies Data Type
  3. Re-Declaration is Error
  1. In Definition Space is Reserved 
  2. Some Initial Value is Assigned
  3. Re-Definition is Error

Bookmark & Share

Incoming search terms:

  • Job

    in defination we specify the what type of data will posessed by variable &
    in declaration we specify the some initial value to variable.
    In c declaration is must.