#import <Foundation/Foundation.h>

int main() {
	NSAutoreleasePool *pool = [NSAutoreleasePool new];
	int n[ ] = { 11, 22, 33, 44 };  /* n is an array of 4 integers with the values especified */
    
    /* initialize elements of array n to 0 */
    int i;
    for(i = 0; i < 4; i++ ) {
        n[ i ] = n[ i ]+100; /* set element at location i to n[ i ] + 100 */
    }
    
    /* output each array element's value */
    int j;
    for(j = 0; j < 4; j++ ) {
        NSLog(@"Element[%d] = %d\n", j, n[j] );
    }
	[pool drain];
	return 0;
}
