Ubuntu Pastebin

Paste from devut at Fri, 30 Dec 2016 04:39:39 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>
#include <stdarg.h>

void sparse (char *fmt, ...);
 int main() {
   sparse("Goto Hell");
   
}

void sparse(char *fmt , ...){
  char *a , *b ;
  va_list ap;

  va_start(ap, fmt);
  for (a = fmt; *a ; a++) {
    putchar(*a);
  va_end(ap);
  }
}
Download as text