Computer Engineering Department TED University: CMPE 252 - C Programming, Spring 2021 Lab 2
Computer Engineering Department TED University: CMPE 252 - C Programming, Spring 2021 Lab 2
TED University
void printNumbers(const int arr[], int n); // prints the elements in arr[0..(n-1)]
Your task in this part to fill in the missing function definitions in skeleton code lab2part1.c.
main function will stay as it is.
Sample Run:
Computer Engineering Department
TED University
Your task in this part to fill in the missing function definitions in skeleton code lab2part2.c.
main function will stay as it is.
Sample Run:
Computer Engineering Department
TED University
Computer Engineering Department
TED University
Assume that arr can have at most 500 elements in it. Hint: If you need to declare a local array in function
circularShiftUntilMaxArr, you can set its size as 500.
Your task in this part to fill in the missing function definitions in skeleton code lab2part3.c.
main function will stay as it is.
Sample Run: