0 like 0 dislike
506 views

Question 6: What the outputs for i, j, m and n? *can be answered 2 times* 

    int a[5] = {5, 1, 15, 20, 25};

    int i, j, m, n;
    i = a[2];
    j = a[i-i];
    m = a[j-2];
    n = a[(10%2)];
  

i = $1

j = $2

m = $3

n = $4

[Exam] asked in Final examination by (5.9k points)
ID: 41935 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 506 views

21 Answers

0 like 0 dislike
Hidden content!
*
*

100/100 answered by (268 points)
0 like 0 dislike
Hidden content!

**
***
**
100/100 answered by (271 points)
0 like 0 dislike
Hidden content!
*
*
***
*
100/100 answered by (192 points)
0 like 0 dislike
Hidden content!

**
*
100/100 answered by (283 points)
0 like 0 dislike
Hidden content!

**
*
*
100/100 answered by (220 points)
0 like 0 dislike
Hidden content!
*
*
**
100/100 answered by (153 points)
0 like 0 dislike
Hidden content!

*

*
100/100 answered by (246 points)
0 like 0 dislike
Hidden content!
*
*

100/100 answered by (252 points)
0 like 0 dislike
Hidden content!
**
*

**
100/100 answered by (183 points)
0 like 0 dislike
Hidden content!
*

**
75/100 answered by (281 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.71.254.9
©2016-2024

Related questions

0 like 0 dislike
22 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41975 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 1.1k views
0 like 0 dislike
21 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41968 - Available when: Unlimited - Due to: Unlimited
| 1.1k views
0 like 0 dislike
30 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41942 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 1.3k views
0 like 0 dislike
26 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41937 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 711 views
0 like 0 dislike
23 answers
[Exam] asked Jan 13, 2018 in Final examination by nat236919 (5.9k points)
ID: 41926 - Available when: Unlimited - Due to: 2018-01-17 16:30
| 660 views
12,783 questions
183,443 answers
172,219 comments
4,824 users