Solution to Duplicate define

This commit is contained in:
2024-02-03 11:12:24 +05:30
parent 8c34938ee3
commit fcb8c87ca6
4 changed files with 43 additions and 11 deletions

View File

@@ -5,16 +5,19 @@
# 0 "<command-line>" 2
# 1 "app.c"
# 19 "app.c"
# 1 "B.h" 1
# 19 "B.h"
# 1 "A.h" 1
# 21 "A.h"
int sum(int a,int b);
# 20 "B.h" 2
int multiply ( int a , int b );
# 22 "A.h"
int sum(int a,int b)
# 20 "app.c" 2
# 1 "B.h" 1
# 21 "B.h"
# 1 "A.h" 1
# 22 "A.h"
int sum(int a,int b)
# 22 "B.h" 2
int multiply(int a,int b)
# 21 "app.c" 2
int foo(int b);
@@ -23,6 +26,7 @@ int foo(int b){
}
int main(){
int a = ( 15*15 );
int a = (15*15);
return 0;
}