Untitled

Run Settings
LanguageC
Language Version
Run Command
//Inputs taking here are three strings and a 3x3 word matrix #include <stdio.h> #define string_length 20 #define row_count 3 void process(int *string1) { printf("%s",string1); } int main(void) { int *string1 = (int *) malloc(20* sizeof(char)); if (string1 == NULL) { printf("\nMemory allocation issue"); } else { //scanf("%c"); //do not delete this it will consume the enter key scanf("%s",string1); process(array); } return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines