Question: why am i getting this error ? my program is in C .. L.30.29! error: use of undeclared identifier 'new' struct Graph* graph = new

why am i getting this error ? my program is in C
why am i getting this error ? my program is in C

.. L.30.29! error: use of undeclared identifier 'new' struct Graph* graph = new Graph; testing.c:30:32: error: expected ';' at end of declaration struct Graph* graph = new Graph; testing.c:34:21: error: use of undeclared identifier 'new' graph->edge = new Edge[E]; 3 errors generated

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!