#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
NSAutoreleasePool *pool = [NSAutoreleasePool new];
NSArray *arr = [NSArray arrayWithObjects: @"Colombia", @"1", @"Lenguajes", nil];
int i, size = [arr count];
for(i = 0; i < size; i++) {
NSLog(@"posicion %d = %@ ", i, [arr objectAtIndex: i]);
}
[pool drain];
return 0;
}
I2ltcG9ydCA8Rm91bmRhdGlvbi9Gb3VuZGF0aW9uLmg+CgppbnQgbWFpbihpbnQgYXJnYywgY29uc3QgY2hhciAqIGFyZ3ZbXSkgewogICAgCiAgICBOU0F1dG9yZWxlYXNlUG9vbCAqcG9vbCA9IFtOU0F1dG9yZWxlYXNlUG9vbCBuZXddOwogICAgTlNBcnJheSAqYXJyID0gW05TQXJyYXkgYXJyYXlXaXRoT2JqZWN0czogQCJDb2xvbWJpYSIsIEAiMSIsIEAiTGVuZ3VhamVzIiwgbmlsXTsKCWludCBpLCBzaXplID0gW2FyciBjb3VudF07CgkKCWZvcihpID0gMDsgaSA8IHNpemU7IGkrKykgewoJICAgIE5TTG9nKEAicG9zaWNpb24gJWQgPSAlQCAiLCBpLCBbYXJyIG9iamVjdEF0SW5kZXg6IGldKTsKCX0KICAgIFtwb29sIGRyYWluXTsKICAgIAogICAgcmV0dXJuIDA7Cn0=