Search results for programming-in-c

26 votes
3 answers
42
2 votes
2 answers
43
​​Consider the following $\mathrm{C}$ function definition.int f (int x, int y){ for (int i=0 ; i<y ; i++ ) { x= x + x + y; } return x; }Which of the following stateme...
0 votes
1 answer
47
29 votes
7 answers
48
2 votes
2 answers
49
0 votes
1 answer
58
0 votes
2 answers
60
What is the output of the below code?#include <stdio.h void main() { static int var = 5; printf("%d ", var ); if (var) main(); }a. 1 2 3 4 5b. 1c. 5 4 3 2 1d. Error