Print the size of the input data and input data of integer

Hello I am writing a program that to Define a new int array of 500 integers

int myint[499] ; Oops