Question d’entretien chez Triplebyte

what will this function return? int* foo() { int x=10; return &x; } int k=*foo();