Skip to content

Opening book details…

About this document

Random Matrix Generation in C by Jose Gzz is a document available to read on EtoBox.

This C code generates a 100x100 matrix with random integer values between 1 and 100, and prints out the matrix to the screen. It uses rand() and time.h to randomly populate each element of the matrix with a random number, then uses a nested for loop to print out each row of the matrix on a new line.

Author
Jose Gzz
Language
EN