I am using C language, I have a small problem, it gives me the following error message: "incompatible types in assignment"
Code:
char * address (int octet1, int octet2,int octet3)
{
char *ad [64]
if octet 1> =1 && (octet 1<=26))
{
ad = strcat (octet1. "0.0.0.");
else if (octet 1<=128) && (octet 1<=192)&& (octet 1<=255)
{
ad = strcat (octet1, octet2 "0.0.0.");
}
return *ad;
The function is supposed to send me the address network (concatenated with the bytes passed as parameters ...) or it does not work very well ...Thank you in advance for your help!
Bookmarks