support@chatgptassignment.com

output will be (with no leading spaces): ABCD BCDA CDAB DABC You need to write

You will be writing a C program that reads in four characters and then prints them out in a rotated pattern.  For example, if the input characters are ABCD, the output will be (with no leading spaces): ABCD BCDA CDAB DABC You need to write a function RotateFourChars using pointers and a “temp” variable to store c1 (the first character) in order to rotate the characters. Purchase the answer to view it