stack.queue/stack.c
Item* createItem(int val) {
    Item *item = malloc(sizeof(Item)); 
    item->data = val;

    return item;
}
/**
 * createItem: creates a new Item
 * @param val the value to be assigned to the Item
 * @return a pointer to that Item
*/
creates a new Item
@param val the value to be assigned to the Item
@return a pointer to that Item
creates a new Item @param val the value to be assigned to the Item @return a pointer to that Item
Item* createItem(int val) {
    Item *item = malloc(sizeof(Item)); 
    item->data = val;
    return item;
}
Item * createItem ( int val ) { Item * item = malloc ( sizeof ( Item ) ) ; item -> data = val ; return item ; }
createItem: creates a new Item
 @param val the value to be assigned to the Item
 @return a pointer to that Item
createItem : creates a new Item @param val the value to be assigned to the Item @return a pointer to that Item