public class sookshmas{public static void main (String [] args) {int x=200, y=50, z=100;if( xy && yz) {System.out.println("Hello") ;}if(zy && zx) {System.out.println("Java") ;}if((y+200) x && (y+150) z) {System.out.println("Hello Java") ;}}}
include iostreamusing namespace std;void main() {int i=0;i=i+1;couti:print i \*//i=i+1cout++i;}
include iostreamusing namespace std;int array1[] = { 1200, 200, 2300, 1230, 1543 };int array2[] = { 12, 14, 16, 18, 20 };int temp, result = 0;int main(){for (temp = 0; temp 5; temp++) {result += array1[temp];}for (temp = 0; temp 5; temp++) {result += array2[temp];}cout result;return 0;}
main()What will be the output of this program?{int a = 1, b = 2, c = 3:printf("%d", a + = (a + = 3, 5, a))}
#include stdio.hint foo(int* a, int* b){int sum = *a + *b;*b = *a;return *a = sum - *b;}int main(){int i = 0, j = 1, k = 2, l;l = i++ || foo(&j, &k);printf("%d %d %d %d", i, j, k, l);return 0;}
class Test1 {void exam() { }}public class Test1 extends Test {_______void exam() {} // insert correct keywordpublic static void main(String[] args) {System.out.println("Correct");}}