Wednesday, November 7, 2012

*~* VuPak2009 *~* Anybody Know C/C++ Programming...?? CS604


plz solve this Question, i didn't know about Programming, plz today is extended day

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)

 

 

 

7 – You also required to provide the explanation of the output in 3 -4 lines at max.









Regards,
SONIA NAZ

--
You received this message because you are subscribed to the Google Groups "Virtual University of Pakistan 2009" group.
To post to this group, send email to virtual-university-of-pakistan-2009@googlegroups.com.
Visit this group at http://groups.google.com/group/virtual-university-of-pakistan-2009?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment