Question: using C, Write a program that gets an integer as a command line argument and dynamically allocates an array of ints of that size. Fill
using C, Write a program that gets an integer as a command line argument and dynamically allocates an array of ints of that size. Fill the array with random integers less than 100. Display the contents of the array. Note that stdlib.h contains a function called atoi() that can be used to convert a string containing an integer to an actual integer.
notes: can not include conio.h, also the atoi() function must be used.

Sample Run: Command Prompt$ ./a.out 5 array[0] is 95 array[1] is 16 array [21 is 99 array [3] is 26 array [4] is 81
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
