1. Comment on the output of this C code? #include <stdio.h> int main() { char *str = “This” //Line 1 char *ptr = “Programn”; //Line 2 str = ptr; //Line 3 printf(”%s, %sn”, str, ptr); //Line 4 } a) Memory holding “this” is cleared at line 3 b) Memory holding “this” loses its reference at…