On some complex differential and difference equations concerning sharing function