What happens when you compile and run the following program? #include <stdio.h> int fun(void) { static int i = 1; i++; return i; } int main (void) { int k, l; k = fun (); l = fun () ; printf("%d",l + k); return 0; } Choose the right answer:
What happens if you try to compile and run this program? #include <stdio.h> fun (void) { static int n = 3; return --n; } int main (int argc, char ** argv) { printf("%d \n", fun() + fun()); return 0; } Select the correct answer:
What happens if you try to compile and run this program? #include <stdio.h> int main (int argc, char *argv[]) { char *p = "John" " " "Bean"; printf("[%s]", p) ; return 0; } Choose the right answer:
What happens if you try to compile and run this program? #include <stdio.h> int main (int argc, char *argv[]) { char *p = "John" " " "Bean"; printf("[%s]", p) ; return 0; } Choose the right answer: