#include <stdio.h>  
#include <stdlib.h>
#include <time.h>

void fn(void* p1, void* p2,int len){
	char* pc1 = (char*)p1;
	char* pc2 = (char*)p2;
	char temp;
	int i;
	for(i=0;i<len;i++){
		temp = *pc1;
		*pc1 = *pc2;
		*pc2 = temp;
		pc1++;
		pc2++;
	}
}
 
 
int main() {
	int a = 100;
	int b = 200;
	fn(&a,&b,sizeof(int));
	printf("%d,%d",a,b);

    return 0;  
}