Mudanças entre as edições de "PRG29002-2015-2-Aval1A"
Ir para navegação
Ir para pesquisar
(Criou página com 'Questão 1 <syntaxhighlight lang=c> →indicar o valor impresso das variáveis: #include <stdio.h> main () { int x,y,z; x=2; y=6; y=y%x; z = ( ( x-6 || y>5 ) && !0 ) * 10; ...') |
|||
Linha 1: | Linha 1: | ||
+ | [[Professores:FGHIJ | FGHIJ]] | ||
+ | |||
Questão 1 | Questão 1 | ||
Edição das 22h18min de 17 de novembro de 2015
Questão 1
/* indicar o valor impresso das variáveis */
#include <stdio.h>
main ()
{
int x,y,z;
x=2;
y=6;
y=y%x;
z = ( ( x-6 || y>5 ) && !0 ) * 10;
printf ("z=%d\n",z);
}