Start
Control Statements
Array
Function
Structure
Pointer
File
Projects
#include<stdio.h>
#include<conio.h>
void main()
{
int *p1,*p2;
int x,y;
clrscr();
printf("Enter two numbers\n");
scanf("%d%d",&x,&y);
p1=&x;
p2=&y;
printf("The sum is ::%d",*p1+*p2);
getch();
}
Copyright © 2007-2008 www.ckalari.com