Skip to content

NULL instead of argc/argv #109

@whitehatcode

Description

@whitehatcode

MPI_Init(NULL, NULL);

https://github.com/whitehatcode/mpitutorial/blob/gh-pages/tutorials/mpi-send-and-receive/code/send_recv.c#L16

Any reason you put NULL at both positions? We could improve the code for better with standard coding practice. Please let me know if you have specific reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions