Demo entry 1778114

ex8

   

Submitted by anonymous on Jun 01, 2015 at 10:48
Language: C. Code size: 178 Bytes.

#include <stdio.h>
int sum;
void add(int,int);
int main(void){
	int p,q;
	p=2;
	q=3;
	add(p,q);
	printf("%d\n",sum);	
	return 0;
}
void add(int x,int y){
	sum=x+y;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).