Graphs 15- Flood Fill Algorithm

how can sir take the input
i did not know
can you elaborate this

@khemchandrs
He took the input from an external file as typing such an input again and again would be tedious.
You can do this by using the angle brackets and mentioning the name of the input file in it.
Normally you would run your file like
a.exe ( in Windows ) or ./a.out ( in Mac or Linux ) . If you wish your program to read an input from an external file however write it like this.
Say the input file name is “input.txt”.
a.exe <input.txt> ( - Windows)
./a.out <input.txt> (- Mac or Linux)