Question: Helli can some one pkease help with this? Practical - Instructions See attached examples for each assignment output. Each assignment should be written as a

Helli can some one pkease help with this?
Practical - Instructions See attached examples for each assignment output. Each assignment should be written as a separate program and only the two main.c files should be submitted (eg. "Prok 7-1 c" & "Prak 7-2c") Assignment 1 Write a C program that conforms to the following specifications. Declare on integer varioble and assigns a value to the variable. Disploy the value and the memory address of the variable on the screen. Create a pointer that points to the integer variahle's memory address. Display the value stored in the relevant memory address, as well aS A the memory oddress that is represented by the pointer. Assignment 1 Value of number: Address of number: Value of pointer: Address of pointer: x6FFeA Value of pointer2: Address of pointer2: ex68FF84 28 0x0060FF04 20 20 .Create a second pointer to the same address as Ad the first pointer, without using the integer variable to assign the memory oddress. Display both the value and the address of the second pointer. Change value of number to seea using *pointer2 Value of number: Address of number: Value of pointer: Address of pointer: alue of pointer2: 5 Address of pointer2: x0060FF04 5000 0xee66FF84 5000 Use the second pointer to change the value in the xFF04 memory address and display the memory addresses and values of the variable and both pointers on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
