Why does MPI_Init accept pointers to argc and argv?

Posted by iamrohitbanga on Stack Overflow See other posts from Stack Overflow or by iamrohitbanga
Published on 2010-04-15T05:41:56Z Indexed on 2010/04/15 5:53 UTC
Read the original article Hit count: 157

Filed under:
|
|

this is how we use MPI_Init function

int main(int argc, char **argv)
{
    MPI_Init(&argc, &argv);
…
}

why does MPI_Init use pointers to argc and argv instead of values of argv?

© Stack Overflow or respective owner

Related posts about mpi

Related posts about argc