C – Find the Output.

Report
Poll

Please briefly explain why you feel this question should be reported .

Report
Cancel

Results

int main()
{
char *p = NULL;
char *q = 0;
if (p)
printf(” p “);
else
printf(“nullp”);
if (q)
printf(“q\n”);
else
printf(” nullq\n”);
}

in progress 0
Aptitude placementseason 3 years 1 Answer 1138 views 0

Answer ( 1 )

  1. Please briefly explain why you feel this answer should be reported .

    Report
    Cancel

    null p null q


    Attachment

Leave an answer

Browse

Captcha Click on image to update the captcha .