#include <stdio.h>
#include <string.h>
void proba(char *test)
{
int i;
char det = *test;
printf("%s", det);
}
int main(void)
{
char datar[] = "asds";
printf("%d \n", datar);
proba(datar);
return 0;
}
printf("%s", det);
is the problem. When its turn to execute its trowing me out from the app. With "wrong address"