Menu

[solved]-Upload Lik 1 Please Include Input Output Demonstrates Use Pointer Declarations Operators D Q39023692

Upload lik 1 Please Include Input and output Demonstrates the use of pointer declarations and operators and debug this prograUpload lik 1 Please Include Input and output Demonstrates the use of pointer declarations and operators and debug this program #include <stdio.h> main() int num=123; int *p_num; /* A regular integer variable */ /* Declares an integer pointer */ printf(“num is %dn”, num); /* Prints value of num */ printf(“The address of num is $ld n”, &num); /* Prints num’s location */ Punum – &num; /* Puts address of num in Bunum in effect making num point to num /* No * in front of Ponum) printf(“num is $d n”, num); /* Prints value of num printf(“num is $1d n”, num); * Prints location of num Show transcribed image text Upload lik 1 Please Include Input and output Demonstrates the use of pointer declarations and operators and debug this program #include main() int num=123; int *p_num; /* A regular integer variable */ /* Declares an integer pointer */ printf(“num is %dn”, num); /* Prints value of num */ printf(“The address of num is $ld n”, &num); /* Prints num’s location */ Punum – &num; /* Puts address of num in Bunum in effect making num point to num /* No * in front of Ponum) printf(“num is $d n”, num); /* Prints value of num printf(“num is $1d n”, num); * Prints location of num

Expert Answer


Answer to Upload lik 1 Please Include Input and output Demonstrates the use of pointer declarations and operators and debug this p… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *