Not correct usage because the compiler has no way of knowing that the last argument is actually a null pointer. So need to cast.
execl("C:\\WINDOWS\\NOTEPAD.EXE",(const char *) 0);
Type: Posts; User: aambilw1
Not correct usage because the compiler has no way of knowing that the last argument is actually a null pointer. So need to cast.
execl("C:\\WINDOWS\\NOTEPAD.EXE",(const char *) 0);