Question: C Assume required libraries are included: int *ptr; main() { func(); printf(%d , *ptr); } func() { int num=10; ptr=# } Predict the consequences of
C
Assume required libraries are included: int *ptr; main() { func(); printf("%d ", *ptr); } func() { int num=10; ptr=# } Predict the consequences of this code. Explain what could be the valid outcomes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
