C Programming Homework:
Your program should contain one memory allocated (malloc) arraysfor the following types:
● Integer
● Double
● Character
● String
For this problem, the user should be allowed to enter anunlimited amount of integers,
doubles, characters, or strings. Your program should identifywhich type of input was
received, and dynamically allocate space for it in its properarray (realloc). The contents of all
four arrays should be displayed to the user after eachentry.
Example: (Bolded text is user input)
Enter your input: 1
String List:
Integer List : 1
Double List:
Character List:
Enter your input: 7.6
String List:
Integer List : 1
Double List: 7.6
Character List:
Enter your input: apples
String List: apples
Integer List : 1
Double List: 7.6
Character List:
Enter
PayPal Gateway not configured
PayPal Gateway not configured