#includeiostreamusing namespace std;int main(){int a = 5;auto check = [=](){a = 10;};check();cout"Value of a: "aendl;return 0;}
#include stdio.hWhat is the output of this program.int main() {int a[] = {1, 2, 3, 4};int sum = 0;for(int i = 0; i 4; i++) {sum += a[i];}printf("%d", sum);return 0;}
#include stdio.hWhat is the output of this program?int main(){for (int i=1;i15;i=i+3){printf("%d", i) ;}return 0;}
class abc{public static void main(String args[]){if(args.length0)System.out.println(args.length);}})
#includestdio.hint check (int, int);int main(){int c;c = check(10, 20);printf("c=%d\n", c);return 0;}int check(int i, int j){int *p, *q;p=&i;q=&j;i=45 ? return(*p): return(*q);}