Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Sum Example
//gcc 5.0.4 #import <Foundation/Foundation.h> int sum(int a, int b); int main (int argc, const char * argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; int a,b,c; [pool drain]; a=2; b=3; c= a+b; NSLog(@"Sum : %d",sum(a,b)); return 0; } int sum(int a, int b) { return a+b; }
run
|
edit
|
history
|
help
0
compound intresst in objective c
main.m
asss
Objective C NSSet Declaration
Az Flights Optimization
Etudiant.m
string search
Even and Odd numbers by Erick Benites
Obj C Program Structure
change case