Which programming language is this?
void swap(int *a, int *b) {
int t = *a; *a = *b; *b = t;
}
Answer: C
Explicit pointer parameters with no references is C.
Play Programming Languages ▸
void swap(int *a, int *b) {
int t = *a; *a = *b; *b = t;
}
Answer: C