I have an executable, `a.out` which takes several `command-line` arguments. This executable needs to be run with `root` privileges, like `sudo ./a.out arg1 arg2 ...` .

How should I do this using the `execvp` system call in C++ ?