ey Techguy Bro,
Thnx for the post. Can you do me one more of a favor? I need this done man and I have no idea what C is all about..
1. What does the following code display?
int arr[4], i;
for (i=0; i<4; ++i)
arr[i]=i+3;
cout<<endl;
for (i=0; i<4; ++i)
cout<<setw(4) << arr[i];
cout<<endl;
for ( i=3; i >=0; --i)
cout<<setw(4) << arr[i];
2. Write a loop to display only the elements of d_array[10] having an even number subscript starting from zero..
3. Declare a two dimensional array, arr_2d, that contains 15 rows, each of which will store 12 integers
5.
declare a string called birth_date that is to hold a date in the form
of xx/xx/xx. code statements that prompts the user to enter his/her
birth date in the form xx/xx/xx and place birth date into the string
birth_date
6. Declare an array of character pointers that is initialized to point to the name of the months of the year..