C MCQ set number 00682

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…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership