savskye2645 savskye2645 01-02-2024 Computers and Technology contestada What is the output of the code segment shownat right when function testf1() is called?A) 0 0 0B) 1 1 1C) 0 1 2D) 1 2 3void f1( int y){static int x=1;cout << x++ << " ";}void testf1(){for( int x=0; x<3; x++) {f1( x);}}