Answer is 55 plese explain flow in detail | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Answer is 55 plese explain flow in detail

main() { int var=25,varp; varp=&var; varp p = 10; fnc(varp) printf("%d%d,var,varp); }

5th Apr 2017, 2:48 PM
Aniket Patil
Aniket Patil - avatar
3 Answers
+ 13
fnc() is prolly a user-defined function. We will need to see your entire code.
5th Apr 2017, 2:52 PM
Hatsy Rei
Hatsy Rei - avatar
+ 5
your code has too many errors! varp=&var; // varp is not a pointer varp p=10; // varp is not a datatype fnc(varp) /* Definition of fnc is not provided as @hatsy mentioned earlier */ /* also calling of function should be terminated */ printf("%d%d, var, varp); /* closing quotes(") is missing */ check your question again and post it properly.
5th Apr 2017, 7:41 PM
Nikhil Dhama
Nikhil Dhama - avatar
0
it is an apptitude question this is only i got
5th Apr 2017, 3:58 PM
Aniket Patil
Aniket Patil - avatar