Looking for Linguagens de Programação I test answers and solutions? Browse our comprehensive collection of verified answers for Linguagens de Programação I at moodle.deisi.ulusofona.pt.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Qual o output do seguinte programa?
int f(int *, int *, int *);
int main()
{
int a=-93, b=3, c=7;
c = f(&a, &b, &c);
printf("%d %d %d\n",a, b, c);
return 0;
}
int f(int *a, int *b, int *c)
{
*a = (*b) * (*c);
return !(*b);
}
Qual o output do seguinte programa?
int main(void)
{
int i;
for (i=50; i<54; i++)
;
printf("%d", i);
}
Sobre os vectores é correto afirmar:
Qual o output do seguinte programa?
int main()
{
int x = 11;
if (x%2 != 0)
printf("%d ",10*x);
else
printf("%d ",100*x);
return 0;
}
Qual o valor da varável res no fim da execução do seguinte trecho de código?
int res=22, b=8, c=2;
res += b++ + ++c;
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!