249 views
0 votes
0 votes
By default external variables and functions have the property that all references to them by the same name, even from functions compiled separately, are references to same thing .Explain this ?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
Tejeshwara asked Jun 12, 2022
473 views
int main(int argc, char *argv[]) { int valid = 0; char str1[8] = "start"; char str2[8]; gets(str2); if (strncmp(str1, str2, 8) == 0) valid = 1; printf("buffer1: str1(%s),...
1 votes
1 votes
3 answers
3
jverma asked May 23, 2022
1,078 views
#include <stdio.h>int f(int n){ static int r = 0; if (n <= 0) return 1; r=n; return f(n-1) + r;}int main() { printf("output is %d", f(5)); return 0;}Ou...