#include <stdio.h>
#include <stdlib.h>
int main()
{
int func(int a,int b);
{
return (a+b);
}
int c;
c=func(3,5) ;
printf("%d",c) ;
}
output::
//We'll get errors because a function definition can't be written inside definition of another function.
#include <stdlib.h>
int main()
{
int func(int a,int b);
{
return (a+b);
}
int c;
c=func(3,5) ;
printf("%d",c) ;
}
output::
//We'll get errors because a function definition can't be written inside definition of another function.
No comments:
Post a Comment