Why would this not work? And what is the right thing to do.
int x,y,z;
printf("Enter three integers: ");
scanf("%d %d %d",&x,&y,&z);
p[0]=&x; //syntax error here
p[1]=&y; //and here
p[2]=&z; //and here




Posted 02 January 2013 - 01:24 AM
int x,y,z;
printf("Enter three integers: ");
scanf("%d %d %d",&x,&y,&z);
p[0]=&x; //syntax error here
p[1]=&y; //and here
p[2]=&z; //and here
Posted 02 January 2013 - 01:04 PM
Posted 02 January 2013 - 01:31 PM
ButchDean, on 02 January 2013 - 09:23 PM, said:
Posted 02 January 2013 - 01:39 PM
Posted 02 January 2013 - 01:47 PM
Posted 02 January 2013 - 01:51 PM
ButchDean, on 02 January 2013 - 09:47 PM, said:
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
