#include // function prototype void prt(int); // the main() function definition int main(void) { // declare an integer variable int x=12; // calls prt() and passes x, so main() is a caller prt(x); printf("\n"); return 0; } // the prt() function definition, receive an // argument copied into y and return nothing void prt(int y) { // local variable int p = 30; // value from caller printf("Value from the calling program: "); printf("x's value = %d", y); // local variable value printf("\nLocal variable value: "); printf("p's value = %d", p); }