#includeiostreamusingnamespace std;int main(){int x=5;int y=5;auto check =[&x](){x =10;y =10;}check();cout"Value of x: "xendl;cout"Value of y: "yendl;return0;}
Predict the output??public class Test{static int i = 10;public Tes{System.out.println(this.i);}public static void main (String args[]){Test t = new Test();}}