Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

need help solving it;

1 view (last 30 days)
abeer hafeez
abeer hafeez on 3 Apr 2022
Closed: Cris LaPierre on 3 Apr 2022
good day , i have 2 questions related to programs , if anyone knows please tell me , it`s my exam.
1-Trace the error from the given code.
void main()
{
char ch;
printf(“%c:, ch);
puts(90);
}
2-Trace the output of the given code? 3
main()
{
int m= –700, n = –800, p, q;
q= – m;
p = – n;
printf(“%d \n %d \n %d”, q, n, p);
}
thes are two of my questions.
  1 Comment
Torsten
Torsten on 3 Apr 2022
This is C code.
You are in a MATLAB forum ...

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!