Ho corretto qualcosa
Codice HTML:
#include <stdio.h>
struct nodo{
int data;
struct nodo *next}
int main(){
typedef struct nodo LISTA;
typedef struct nodo *L_PTR;
int conta_cifre(l_PTR L){
if(L->data!=NULL){
if((L->data>='0')&&(L->data<=9)){
return L->data + conto_cifre(L->next);}
else return conto_cifre(L1->next);}
else return 0;}