OOP344 assignment 1 “How to display str variable in edit fuction”

display(str + *strOffset, row_fixed, col_fixed, fieldLength);


by adding strOffset value in str pointer

compiler will point string +strOffset value and display

row_fixed, and col_fixed is the initial value of row and col when edit function called

because when console display gets update location of str display is not changed