What will be the output of the following code?
#include<stdio.h>
int* fun(int a)
{
int *val;
val=&a
(*val)++
return val
}
int main()
{
int value=10
int "retval.
int* (*fun_ptr)(int)=&fun;
retval=(*fun_ptr)(value);
printf("%d\n","retval):
return 0
Answers
Answered by
0
Answer:
the answer of this question is that retval and value of this question will colopus to you and your phone
Similar questions