How can I Write a C language routine that defines a function mult(). The function mult() is supposed to perform scalar multiplication on the two vectors ‘a’ and ‘b’, and returns the vector ‘c’, such that c=a.b. Also, it pads zeros ‘0’ to the smaller of the two input vectors so that both, ‘a’ and ‘b’ are equal in length.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.