#include <stdio.h> #include<malloc.h> #include <string.h> typedef struct Stack { char* val; int size; int capacity; }Stack; void push(Stack* stack,char val) { if (stack->size == stack->capacity) { return; } stack->val[stack->size] = val;...