why this code is not giving o/p as 3?
-
#include<stdio.h> void tried(); int main(int a,int b) { int c=a+b; return c; } void tried() { printf("%d",main(1,2)); }
-
How about something like this
main(); int main() { printf("%d",tried(1,2)); } void tried(int a,int b) { int c=a+b; return c; }
-
How about something like this
main(); int main() { printf("%d",tried(1,2)); } void tried(int a,int b) { int c=a+b; return c; }