RE: What is the difference between declaration and definition?
Definition int * i i is definitionsince we can store a address without allocating memory *i is definition since we can assign *i 4 ;
Definition char *c c is definition since it can store a address of a character *c is definition since it can store a character Now c is a declaration for storing a string now i need to allocate memory to store a string..