3. Let a and b be two integer arrays defined in C as follows: int a[40], b[40]; (a) If a and b store the contents of two vectors, respectively, please write statements in C to compute and print out the inner product (內積) of these two vectors. (15%)
3. Let a and b be two integer arrays defined in C as follows: int a[40], b[40]; (a) If a and b store the contents of two vectors, respectively, please write statements in C to compute and print out the inner product (內積) of these two vectors. (15%)