Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Undefined behaviour
#include<stdio.h> int foo (int *a, long *b) { a = (int *) b; *a = 9999; *b = 1000; return *a; } int main () { int a = 99; long b = 88; printf("foo() = %d \n",foo(&a, &b)); printf("%d %ld", a, b); }
run
|
edit
|
history
|
help
0
Policy based smart pointer
Lowest common ancestor in binary tree
HashMap
Rubix
volatile thread-safe object
volatile thread-safe object
string match
ახარისხება~ფინალური
Vectors as Inputs to Map
2