name and place are defined in main...so i want function to use those strings...or best will be that function will store the name and others in struct "passager" and the passager in main declared...
Type: Posts; User: paradokss
name and place are defined in main...so i want function to use those strings...or best will be that function will store the name and others in struct "passager" and the passager in main declared...
it's somethink like a data base of a air company... and i'm new to the programming and i readed some books but can't realy get it with this functions and pointers :(
sory if this was before but I realy can't find the answer...
#include <stdio.h>#include <stdlib.h>
#include <string.h>
#include <conio.h>
typedef struct
{ int day, month, year; } DATE;