#include <stdio.h>
#include <stdlib.h>
func(int x,int y);
int main()
{
int p=func(5,6);
printf("%d",p) ;
return 0;
}
func(int x,int y)
{
int x=2;
return x*y;
}
output::
error:: multiple declaration of x
#include <stdlib.h>
func(int x,int y);
int main()
{
int p=func(5,6);
printf("%d",p) ;
return 0;
}
func(int x,int y)
{
int x=2;
return x*y;
}
output::
error:: multiple declaration of x
No comments:
Post a Comment