나는 한 연구는,하지만 난 문제인수 패스
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
int r1=40,r2=5;
swap(r1,r2);
NSLog(@" temp is %d",r1);
}
void swap(int r1, int r2)
{
NSLog(@" m i 1st");
int temp;
temp=r1;
r1=r2;
r2=temp;
NSLog(@" temp is %d",r1);
}
가 오전 않았다 내가
swap
의 충돌 유형을 얻고있다
; 이 일을하는 올바른 방법입니까? 감사!
내가 = 죄송합니다, 그 작동 벌금, 방금 경고를이 방법은 c99에 유효하지 않습니다 – prajakta
나는 충돌 유형의 스왑을 받고,이 corr입니다 요법의 방법 >>? – prajakta