include <stdio.h>
void abc(struct sss );
void main()
{
struct sss
{
int i;
char j;
};
struct sss s = {1, 'a'};
abc(s);// error in this line...
}
abc(struct sss s)
{
printf("%d %c", s.i, s.j);
}
compiler Error:- 'abc' : cannot convert parameter 1 from 'struct main::sss' to 'struct sss'
What's the error about, why this error has occured...??? struct main:: sss means ???
