sorry i put the wrong code up there, heres the right code.

Code:
	struct creditcard  {
		int cc_number;
		int auth_number;
		double amt_charge;
	};
 
		int main(void) { 
	 
	  // Local Variables
	 struct creditcard records[50];
	 struct creditcard *ccPtr;

	  // Begin
	  records[25].cc_number = 4111111;
	  records[25].auth_number = 56222;
	  records[25].amt_charge = 29.95;
	  ccPtr = &records[0];
	  while (ccPtr!=&records[25]);{
			*ccPtr++ = records[25];
		};
	  ccPtr[0].cc_number = 599121;
	  ccPtr[0].auth_number = 89333;
	  ccPtr[0].amt_charge = 49.95;

	  printf("Credit Card Number:%d\n", "Authorization Number:%d\n"
		    "Amount To Charge:%.2f\n\n", records[25]);
	  printf("Credit Card Number:%d\n", "Authorization Number:%d\n"
		    "Amount To Charge:%.2f\n", ccPtr[0]);

	  return 0;

	} // end function main