Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Exploiting uninitialized variable 2
//Exploiting uninitialized variable 2 #include <stdio.h> unsigned uninitialized( void ) { unsigned var; return var; } unsigned square(unsigned arg){ unsigned result=arg*arg; return result; } int main( void ) { unsigned to_square; printf("UNINITIALIZED = %u\n", uninitialized()); while(scanf("%u", &to_square)!=EOF){ printf("%u * %u = %u\n", to_square, to_square, square(to_square)); printf("UNITNITIALIZED = %u\n", uninitialized()); } }
run
|
edit
|
history
|
help
0
Project 3 Part 1 v1.4
length
Student. Txt
150115_MatrizTodosDistintos
strcat
Largest and smallest
holiwis
Char data type.c
shrinken shraken shrank leave as no cold call acces program unles clownbtweak blue voda
C_141204_ConcatenarCadenas