Skip to main content

All Questions

3 votes
4 answers
474 views

Assign a pointer by a pointer to multidimensional array in function [duplicate]

void print_first_n_row(double **matrix, int n, int row_size) { double (*abc)[row_size]; abc=matrix;} I am having assignment from incompatible pointer type [-Wincompatible-pointer-types] abc=matrix ...
ajdfhjkshg's user avatar