Hopefully someone can explain to me how the getline function works. Thank you
getline gets a line in a data file. I assume that inputstr[128] is the name of the file? why is the number of the array in the getline functionCode:#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { //welcome to main! //we need our input values! char inputstr[128]; while(1) { if(feof(stdin) != 0) { break; } getline(&inputstr, 128, NULL);