Jump to content

duvida


action

Recommended Posts

isso tambem e ap

int mat[3][3];
menor = mat[0][0];

for (x=0; x<=2; x++)
    for (i=0; i<=2; i++)
          if mat[x][i] < menor
                menor = mat[x][i];

É isto que queres??

licavel a uma matrix n*m???

pk eu nao  tou a utilizar eu tou a alocar linah e colunas atraves do calloc de ordem n+m onde o utilizador define o tamanho 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.