Computer Science, asked by shraddhahankune, 10 months ago

Write the output of following c program

#include<stdio.h>

int main()

{

intarr[]={10,20,30,40,50,60};

int*ptr1=arr;

int*ptr2=arr+5;

printf("ptr2-ptr1=%d\n",ptr2-ptr1);

printf("(char*)ptr2-(char*)ptr1=%d",(char*)ptr2-(char*)ptr1);

getchar();

return0;

}​

Answers

Answered by rameshanuradha180
0

Answer:

I did not understand questions

Similar questions