Computer Science, asked by sanojkusingh, 1 month ago


main()
{
int *ptr=(int*)malloc(sizeof(int));
*ptr=4;
printf("%d",(*ptr)+++*ptr++);
}

a)7
b) 9
c) Runtime error
d) none​

Answers

Answered by reddy9457
0

Explanation:

sjdjhdhdndjjdjejejjejejejejjejwjwjiwjwkkeiwiwiwkekskd

Answered by patiljayesh947
0

Answer:

9

Explanation:

hello, if the problem is.

int *p=(int*)malloc(sizeof(int));

*p=4;

printf("%d",(*p)+++(*p)++);

o/p is 9;

it is just similar the case of post incremental operation of

variable like i+++i++.

Similar questions