diff --git a/cv1/program.c b/cv1/program.c index cda7886..a2a72ab 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -1,9 +1,13 @@ #include #include #include -// / +// bool check(char* s2, char *pz) { + if(s2==NULL || pz==NULL) + { + return false; + } char *s=(char*) malloc(strlen(s2)+1); if(s==NULL) { @@ -30,8 +34,8 @@ bool check(char* s2, char *pz) int main() { - char r[300];//="8ryNd20va P1zza"; - char pizz[99];//="piz"; + char r[3000];//="8ryNd20va P1zza"; + char pizz[990];//="piz"; char *p; float price; int count =0;