An exercise from a test

can someone answer this problem in c language?
Write a function to check if its parameter (positive integer) is a perfect square. Then apply
this function to a vector of positive integers, and extract all perfect squares and place them in
another vector.
i would really appreciate it.
Topic archived. No new replies allowed.