Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by sam.mavux
0
votes
0
answers
1
https://www.sanfoundry.com/multiple-choice-questions-c-pointers-function-arguments/
What is the output of this C code? Please explain what is happening at line no. 12 #include <stdio.h> int main() { int i = 97, *p = &i; foo(&p); printf("%d ", *p); return 0; } void foo(int **p) { int j = 2; *p = &j; printf("%d ", **p); }
What is the output of this C code? Please explain what is happening at line no. 12#include <stdio.h>int main(){int i = 97, *p = &i;foo(&p);printf("%d ", *p);return 0;}voi...
2.6k
views
asked
Oct 12, 2018
Programming in C
programming-in-c
pointers
output
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register