logo

Crowdly

Fix the bugs in the following program by rewriting only those statement(s) that ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Fix the bugs in the following program by rewriting only those statement(s) that need to be modified:

#include <stdio.h>

int main() {

    int *ptr, i = 10;

    ptr = &i;

    i += 20;

    printf("Value of i is %d and is stored at %d.\n", ptr, *ptr);

    return 0;

}

More questions like this

Want instant access to all verified answers on dle.plaksha.edu.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!