fix_set_diag_opt.c - #include <stdio.h>#define VAL 5#define N 4 typedef int fix_matrix[N[N*sets the diagonal elements of one of fixed-size arrays to VAL

fix_set_diag_opt.c - #include <stdio.h>#define VAL 5#define...

This preview shows page 1 out of 1 page.

#include <stdio.h> #define VAL 5 #define N 4 typedef int fix_matrix[N][N]; /*sets the diagonal elements of one of fixed-size arrays to VAL*/ void fix_set_diag_opt(fix_matrix A, int VAL){ long i; int *Aptr = &A[i][i]; /* Points to elements in row i of A */
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Spring '08
  • SuryanaS
  • Return statement, Void type, Row, typedef int fix_matrix

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes