Wednesday, March 24, 2021

 #include<stdio.h>

int main()
{
    int *ptr , a=2 ;
    ptr=&a;
    printf("%d\n",*ptr);
    printf("%d\n",ptr);
    printf("%d\n",&a);
    printf("%d\n",*(&a));
    
    int arr[3]={1,2,3};
    printf("%d\n" ,arr);
    printf("%d\n" ,*arr);
    printf("%d\n" ,*(arr+1));
    printf("%d\n" ,(arr+1));
    printf("%d\n" ,*(arr+2));
    printf("%d\n" ,(arr+2));

       return 0;
}
//pointer seen

No comments:

Software scope

 In software engineering, the software scope refers to the boundaries and limitations of a software project. It defines what the software wi...

Popular Posts