What will be the output of the following code?#includestdio.hint main(){int arr[5];arr++;printf("%u", arr);return 0;}
#include stdio.h#include stdlib.hint main(void){int *p;p = 0x42;printf("Pointer before malloc(): %p\n", p);p = (int *)malloc(sizeof(int));printf("Pointer after malloc(): %p\n", p);return (0);}
public class methodstatic{public static void method(){System.out.println("invoking a static method by different types");}public static void main(String []k){method();methodstatic M=new methodstatic();M.method();methodstatic.method();}}
class area { public static void main(String args[]) { double r, pi, a; r = 9.8; pi = 1.11; a = pi * r * r; System.out.println(a); } }