void main()
{
int n=0,i,*p;
clrscr();
printf("enter the value of n");
scanf("%d",&n);
p=&n;
for(i=0;i<=n;i++)
{
*p=*p+i;
}
printf("value of the sum is %d",*p);
getch();
}
program to find maximum of two numbers using pointers
i cant write
sorry
nahi malum
write an assembly language program to find sum of N numbers
mystrcpy (char* dest, char* src) { while ((*dest++ = *src++) != '\0); }
To write a C++ program to display the student details using class and array of object.
yes
i need this answer
12
pro c language to implement linear search using pointers
swap (int *a, int *b) { *a ^= *b; *b ^= *a; *a ^= *b; }