Starting from:
$11.99

$5.99

Output Program Solution

What is the output of the following program segment?

 

        int  count = 10, *temp, sum = 0;

 

        temp = &count;

        *temp = 20;

        temp = ∑

        *temp = count;

        printf("count = %d, *temp = %d, sum = %d\n", count, *temp, sum );

 

        count = 20, *temp = 20, sum = 20

More products