HOME

Start

Control Statements

Array

Function

Structure

Pointer

File

Projects

 

 

 

 

 

 

C programing

Ckalari.com is the No.1 website to get the best of C programs, free source codes, projects in c language……  

A C program to find sum of two numbers using pointer

#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