//MANY times ..scanf is not taking character values ..it either be 1st ,,2nd or 3rd value...either it is simple variable or array elements.....if i want to re-enter value to scanf ...when again it is not taking value 2nd time...
if i initialise 1st again it is not taking values through scanf sometimes ...for char values & skipping scanf function....
it works fine with int values......but not fine with char values....
if i m using %s to print array using base address of array i.e.(arr+0)..then it prints whole string but when i try to print pointer with %s giving its base address it is not printing whole string & giving segmentation fault......so need of printing pointer elements can be fullfilled by using loop character by character using %c by increasing address of pointer for eg..