0 like 0 dislike
1.2k 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
| 1.2k views

21 Answers

0 like 0 dislike
Hidden content!


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

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


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


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

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

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

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

**
**
answered by (269 points)
0 like 0 dislike
Hidden content!


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

**
answered by (254 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.43.174
©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
| 2.7k 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
| 2.7k 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
| 3.1k 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
| 1.5k 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
| 1.4k views
12,783 questions
183,443 answers
172,219 comments
4,824 users