Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

What will be the content of result variable after following instructions? unsing

ID: 3793124 • Letter: W

Question

What will be the content of result variable after following instructions? unsinged short x = 15%9; result = x & 0x4;0 8 4 6 Which of the statements is correct about the program? #include int main() int i=10; return 0; j and i are pointers to an j, is a pointer to an int, and stores address of j j is a pointer to an int and stores address of i j is a pointer to a pointer to an int and stores address of i Which keyword is used to transfer the control from the function back to main program? a. switch go to go back return Which of the (following statements are correct about an array? The array int num[26] can store 26 elements. The expression num [1] designates the very first element in the array. It is necessary to initialize the array at the time of declaration,

Explanation / Answer

Question 5:

Answer is c:4;

Question 6:

Answer is C:

int *j = &i;

where & represent address

Question 7:

Answer is d;

Example

int square(int i)

{

return i * i;

}

Question 8:

Answer is a

An array of size 26 starts from 0 to 25 so array contains 26 elements

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote