CSC 112 Thread Programming Lab Due Friday March 8th 0. Warmup. Write a program that spawns two threads, one that repeated executes printf("A"); printf("A\n"); and one that repeatedly executes printf("B"); printf(B\n"); There is no need to pass the threads any shared information, and don't implement any synchronization mechanisms. Just watch it run and become intrigued. 1. The following function returns the sum of an array of integers of a fixed size: #define SIZE 10000 int arraysum(int *A) // an array is just a pointer in C { int i; // loop counter int sum; // accumulates sum sum = 0; for(i=0;i