Question: Write The program in C language Q6: Complete the program to create, access and initialize a Pointer ? #include int main() { //char variable char

 Write The program in C language Q6: Complete the program to

Write The program in C language

Q6: Complete the program to create, access and initialize a Pointer ? #include int main() { //char variable char ch; //char pointer char *pch; // Initializing pointer variable with the address of variable ch //Assigning value to the variable ch //access value and address of ch using variable ch //access value and address of ch using pointer variable pCh return 0; } Sample Output: Value of ch: A Address of ch: 0x7fff4c13677f Value of ch: A Address of ch: 0x7fff4c13677f Q7: Write a c program to find the largest number using pointers ? Sample Output: Enter First Number: 4 Enter Second Number: 6 Enter Third Number: 2 6 is the largest number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!