Answered step by step
Verified Expert Solution
Question
1 Approved Answer
21 - What does this code print to the screen? Assume that the user enters 15 when asked to enter a number a) 5 b)
21 - What does this code print to the screen? Assume that the user enters 15 when asked to enter a number a) 5 b) 15 c) O d) None of the above #include void getNumber int ); int main() int n = 5; getNumber n printf ("%d", n); return 0; void get Number (int anyNum) printf ("Enter a number ") scanf("%d", & anyNum); 22 - What does the code print to the screen? a) 5 b) 15 c) 100 d) None of the above int main) int n5, *pointer, anotherPointer; pointer-&n anotherPointer -pointer pointer 15; n100; printf("%d", *anothe rPointer); return 0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started