All pastes #795091 Raw Edit

Someone

public c v1 · immutable
#795091 ·published 2007-11-23 17:48 UTC
rendered paste body
#include <stdio.h>#include <malloc.h>struct node{    int szam;    struct node* next;};int maxker(struct node *first);int main(){    printf("Add meg, hány számot akarsz megadni!\r\n");    int db; scanf("%d",db);    struct node *first, *temp;    temp=first;    int i;    for(i=1; i<=db; i++)    {        printf("valami\r\n");            temp=(struct node *)malloc(sizeof(struct node));        printf("itt volt valami amit kitoroltem :)))\r\n");            scanf("%d",(*temp).szam);        printf("miert?\r\n");            temp=(*temp).next;    }    printf("%s",maxker(first));    return 0;}