All pastes #607176 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-07 12:14 UTC
rendered paste body
int sumCalc(char *, char *);
int sumCalc(char *one, char *two) {
	
	// So one will return the memory address
	// So does two
	return one; // Returns memory address
}

int main() {
	
	int a = 3, b = 5;
	printf("%#x is answer of %d + %d, real is : %#x ",sumCalc(&a,&b),a,b, &a);
        int *newPointer = sumCalc(&a,&b);
        printf("%d ",*newPointer);
	return 0; // We done
}