CS410 Visual Programming Assignment No. 1 Semester Fall 3rd November 2012


Sponsored Links



Assignment Helping Topic:

Pointer De-referencing

Tasks:

1 – Declare an array of pointer integer type having five elements.

2 – Declare and initialize integer array of five elements named as a. For example:

int a = {1,2,3,4,5};

3 – Declare and initialize an array of character type, named as b. For example:

char b = {‘a’,’b’,’c’,’d’,’e’};

4 – You have to assign values of integer array to integer pointer array.

5 – Then you have to assign values of character array to pointer array of integer type.

6 – Print values of array a, so that the output is as below (for the set of values as provided in step 2 and 3)