please help multiple choice questions 1)A linked program is often called a(n) __
ID: 3935816 • Letter: P
Question
please help multiple choice questions
1)A linked program is often called a(n) ________.
chain library object executable
2)Assuming that int a has a value of 3 and that integer array b has 7 elements, what is the correct way to assign the value of the sum of 3 and the third element, to the fifth element of the array?
b[ a + 1 ] = b[ a ] + 3;
b[ a + 1 ] = b[ a - 1 ] + 3;
b[ a ] + 1 = b[ a + 3];
b[ a + 2 ] = b[ a ] + 3;
3)All of the following are true of functions except ________. they define specific tasks that can be used at many points in a program a function call must specify the name and arguments of the function the definition of a function is always visible to other functions the implementation of a function is hidden from the caller
Explanation / Answer
1)
A linked program is often called ___executable_____.
2)
int a = 3;
since, array index starts from 0, third element in array b = a[2] = b[a-1]
fifth element in array b = a[4] = b[a+1]
=> b[a+1] = b[a-1] + 3;
3)
False statement => The definition of a function usually is visible to other functions.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.