input: Write a function to generate an array of random numbers in Python using the NumPy library. The function should take the number of elements in the array as a parameter and return the generated array. If the input size is 0, the function should return an empty array.
  assert generate_random_array(10)==[any random integers between 0 and 100]
  assert generate_random_array(0)==[]
output: import numpy as np
  
  def generate_random_array(size):
      if size == 0:
          return np.array([])
      return np.random.randint(0, 101, size)