Tuesday, May 12, 2015

Content Migration

I will be moving all WeakNet Laboratories content back to blogger.com. Thank you for your support and patience during the migration process.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#include<stdio.h>
void myFunction(int i); // function prototype
int main(void){
 int j = 0;
 myFunction(j);
 return 0;
}
void myFunction(int i){ // (i) is copied onto the stack with the function here
 printf("%d\n",i);
 return;
}

The sauce above has been "beautified" by http://hilite.me/

No comments:

Post a Comment