Skip to main content
Bumped by Community user
Bumped by Community user
added 18 characters in body
Source Link
duck
  • 1.3k
  • 10
  • 27

struct node *root, currentNode; root = (struct node)malloc(sizeof(struct node)); root->value = '\0'; root->next = 0; currentNode = root;

  struct node *root, *currentNode;
  root = (struct node*)malloc(sizeof(struct node));
  root->value = '\0';
  root->next = 0;
  currentNode = root;

struct node *root, currentNode; root = (struct node)malloc(sizeof(struct node)); root->value = '\0'; root->next = 0; currentNode = root;

  struct node *root, *currentNode;
  root = (struct node*)malloc(sizeof(struct node));
  root->value = '\0';
  root->next = 0;
  currentNode = root;
Source Link

What does the following code in Morse Code Arduino mean?

struct node *root, currentNode; root = (struct node)malloc(sizeof(struct node)); root->value = '\0'; root->next = 0; currentNode = root;