A list of puns related to "Punts"
I'm trying to make a linked list in c, i wrote a code but i can't undestand why it's not working
here's the code:
#include <stdio.h>
#include <stdlib.h>
ELEMENTO crea_lista()
{
//head punta al primo della lista | punt Γ¨ il puntatore che permette di scorrere la lista
ELEMENTO *head , *punt;
int i,n;
//dichiarazione n elementi
printf("Numero Elementi:");
scanf("%d",&n);
if(n==0)
head=NULL;
else
{
p= (ELEMENTO *)malloc(sizeof(ELEMENTO));
printf("Inserisci il primo valore:");
scanf("%d", &head.inf);
punt=head;
for(i=2;i<n;i++)
{
punt.pun=(ELEMENTO *)malloc(sizeof(ELEMENTO));
punt=punt.pun;
printf("Inserisci il % elemento",i);
scanf("%d",&punt.inf);
punt.pun=NULL;
}
return p ;
}
}
//visualizza_lista()
//{
//}
int main()
{
typedef struct {
int inf;
struct ELEMENTO *pun;
}ELEMENTO;
ELEMENTO ele_1 , ele_2 , *lista;
lista=crea_lista();
}
Edit: typo, should say more TDs than Incompletions.
Falcon like
Inspired by a high school game where a team won with no time remaining after their kick was blocked, the defense ran off the field while the offense picked it up and ran it in to win the game, I am wondering how many times something similar has happened in college football. Winning the game on the play is optional.
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.