logo

Crowdly

What does the following code excerpt print? int tab[] = { 2, 4, 6, 8, 10, ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What does the following code excerpt print?

int tab[] = { 2, 4, 6, 8, 10, 12 };

putchar('1');

int a = -1;

int* p = tab + 2;

while ((a = *p++) < 10) { printf("%d", a); }

0%
0%
0%
0%
0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.epfl.ch?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!