All pastes #1623992 Raw Edit

Something

public cpp v1 · immutable
#1623992 ·published 2009-10-16 18:14 UTC
rendered paste body
#include<stdio.h>int *p1,*p2;      //make pointers globalint a,b;          //make variables to be referenced globalvoid fun(void);     //No need to pass any arguments, as p1,p2 are globalint main(void){    int s;    fun();    s=*p1 + *p2;    printf("Sum= %d",s);    return 0;}void fun(void){    a=3;    b=5;    p1=&a;    p2=&b;}