Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main() {
- char *p = malloc(strlen("Hello"));
- strcpy(p, "Hello");
- printf("%s worldn"), p);
- }
- $x = array( 1 => 2 , 2=> 3 );
- foreach( $x as $i => $v )
- {
- print "$x $i is $vn";
- }
- for (i=0; i<10; i++) { printf("%dn", i); }
- for (i=0; i<10; ++i) { printf("%dn", i); }
Add Comment
Please, Sign In to add comment