Code:
node * ekleSirali(node * r, int x){ if(r==NULL){//linklist bossa  r=(node*)malloc(sizeof(node));  r->next= NULL;  r->x = x;  return r; }


"node * ekleSirali(node * r, int x)" what is this structure, i mean it's looking like a pointer but like a function it has parameter and a return value. I've never seen that before. what is it called?