3 votes 3 votes Programming in C programming-in-c + – . asked Apr 8, 2017 . 897 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 3 votes 3 votes myrecurse(a,b) = a*b main function calls myrecurse(x,y) for each consecutive elements of a[] Final result = $6*5 + 5*4 + 4*3 + 3*2$ = $68$ dd answered Apr 8, 2017 selected Apr 9, 2017 by Arjun dd comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments dd commented Apr 10, 2017 reply Follow Share #include <stdio.h> int main() { int i = 0; for(printf("Hie ") ; printf("Bye ") ; /* not used */ ) { printf("%d iteration done\n",++i); if(i > 2) break; } return 0; } output: Hie Bye 1 iteration done Bye 2 iteration done Bye 3 iteration done 0 votes 0 votes Akriti sood commented Apr 10, 2017 reply Follow Share i know that debashish ,in your example , printf ("bye") is in place of condition checking which will be checked obviously initialy to go into the loop but in this question , --i is the updation.will it also be done at first iteration?? 0 votes 0 votes srestha commented Apr 10, 2017 reply Follow Share what is initial vlue of x? 0 votes 0 votes Please log in or register to add a comment.