#include <stdio.h> void *_va_arg(void **ap) { return * ((void **) *ap)--; } int main(void) { // your code goes here return 0; }
Standard input is empty
prog.c: In function ‘_va_arg’: prog.c:4:26: error: lvalue required as decrement operand return * ((void **) *ap)--; ^ prog.c:5:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors
Standard output is empty