# PetscInitializeNoArguments
Calls `PetscInitialize()` from C/C++ without the command line arguments. 
## Synopsis
```
#include "petscsys.h"   
PetscErrorCode PetscInitializeNoArguments(void)
```
Collective




## See Also
 `PetscInitialize()`, `PetscInitializeFortran()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/pinit.c.html#PetscInitializeNoArguments">src/sys/objects/pinit.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/tutorials/ex4f.F90.html">src/sys/tutorials/ex4f.F90.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/pinit.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
