What is the output of the following code?
int main(){int a[3]={10,11,12}if (a==10)printf("Hi");else if(a==11)printf("Hello");elseprintf("Goodbye");}
public class Arithmetic { public static void main(String[] args){ short x = 10; x = x * 5; System.out.print(x); }}Predict the output of the following code snippet