I have been having a huge amount of difficulty in C, when in C++ it is much simpler to sort out the program.
here is my algorithm:
#include <stdio.h>
#define SIZE 50
#include <stdlib.h>
#include <string.h>
void swap(char *, char *);
Thank you for the reply but when i run it it shows 3 errors, and 1 is on the
int main(void)
and i tried changing the & however still wouldn't run.
when changing &
it says
[Error] C:\C-Free Standard\temp\Untitled1.cpp:31: passing `char **' as argument 1 of `swap(char *, char *)'