940 views

1 Answer

Best answer
10 votes
10 votes
1. int 
2. foo
3. (
4. int 
5. i
6. , 
7. int 
8. j
9. )
10. {
11. return 
12. printf
13. (
14. " I do it correctly"
15. , 
16. i 
17. > 
18. j
19. )
20. ;
21. }
selected by
Answer:

Related questions

3 votes
3 votes
4 answers
1
Arjun asked Oct 18, 2016
812 views
What will be the output of the following code?#include <stdio.h int main() { char a = 'A', z = 'Z'; printf("%d", z-a); }
7 votes
7 votes
2 answers
2
Arjun asked Oct 18, 2016
1,242 views
The value returned by the following function for foo(10) is ____int foo(int x) { if(x < 1) return 1; int sum = 0; for(int i = 1; i <= x; i++) { sum += foo(x-i); } return ...
2 votes
2 votes
5 answers
3
Arjun asked Oct 18, 2016
1,626 views
The value returned by the following code is _____int foo() { int a[] = { 10, 20, 30, 40, 50, 60 }; int *p = &a , *q = &a[5] ; return q-p; }
12 votes
12 votes
1 answer
4