what this line of code will do?
Edge *edge=new Edge[e];
is it possible to initialise array of any class?
Bellman ford code
Hi @sktg99
This will initialize array of objects (object here is edge) .We can create an array of objects of a class so we can also dynamically intialize it also like the way we have initialized the edge object array