1 votes 1 votes Find the output of the below program in case of Dynamic Scoping with call by need evaluation method int x=10,y=10; main() { int x=2; int y=3; fun1(x+y,5); printf("x"); } fun1(int z,int k) { k=z+k; } Programming in C programming-in-c + – admin asked Oct 5, 2015 • retagged Nov 11, 2015 by Arjun admin 732 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Output --> x , for call by need , Refer--> http://stackoverflow.com/questions/8701834/call-by-need-vs-call-by-name & Call by need --> https://en.wikipedia.org/wiki/Evaluation_strategy Vinay Yadav answered Oct 6, 2015 Vinay Yadav comment Share Follow See all 0 reply Please log in or register to add a comment.