All pastes #534768 Raw Edit

somewhere i did a patata!! :P

public c v1 · immutable
·published 2007-06-03 21:45 UTC
rendered paste body
#include <limits.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h> /*&#915;&#953;&#945; &#957;&#945; &#967;&#961;&#951;&#963;&#953;&#956;&#959;&#960;&#959;&#953;&#942;&#963;&#959;&#965;&#956;&#949; &#964;&#951; &#963;&#965;&#957;&#940;&#961;&#964;&#951;&#963;&#951; memset - for memset */void test(char* st,char b){	va_list ap;	int num=0;	double* f;		va_start(ap, st);	while(*st)	{		if(b=='f')		{ 			f[num]=va_arg(ap, double);			printf("%f\n",f[num]);			num++;		}		else 		{			fprintf(stderr,"usage: %s n1 n2 n3 ... \n", st[0]);        		exit(EXIT_FAILURE);		}	}	va_end(ap);}int main(int argc, char* argv[]){	char* s;	test(s,'f');}