Question: How can I resolve this without changing the way I compile the program? wf.c: In function 'addWord': wf.c:69:3: warning: ISO C90 forbids mixed declarations and
How can I resolve this without changing the way I compile the program?

wf.c: In function 'addWord': wf.c:69:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] node* newNode = (node*)malloc(sizeof(node)); wf.c: In function 'main': wf.c:87:3: warning: ISO C90 forbids mixed declarations and code [-Wpedantic] node** hashTable = (node**)malloc(sizeof(node*)*HASHSIZE); wf.c:97:5: warning: ISO c90 forbids mixed declarations and code [-Wpedantic] char* wordBuffer =( char*)malloc (1024sizeof( char* ))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
