Home > Back-end >  C language for the answer
C language for the answer

Time:09-28

=10 int * p, a, b=1;
P=& amp; a; A=* p + b;
After executing the program segment, a value is

CodePudding user response:

A=* p + b; Equivalent to a=a + b; The 11

CodePudding user response:

The
reference 1/f, confident boy reply:
=* p + b; Equivalent to a=a + b; The 11

Thank you very much for bosses

CodePudding user response:

 
# include & lt; stdio.h>
# include & lt; Stdlib. H>
Int main ()
{
Int a=10, b=1;
Int * p=& amp; a;
A=* p + b;
Printf (" % d ", a);
}

Results: a=11



CodePudding user response:

11, take a address, p * p is the value of a original, plus after results assigned to a, b is equivalent to a=a + b
  • Related