im
C
#include <stdio.h>
#include <stdlib.h>
typedef struct Node {
int data;
struct Node leftChild;
struct Node rightChild;
} node;
void insertData (node* arrPtr, int data) {
node* new = (node)malloc(sizeof(node));
new->data = data;
new->rightChild = NULL;
new->leftChild = NULL;
if (*(arrPtr) == NULL) arrPtr
}
int main() {
printf("Hello world!\n");
return 0;
}
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.