how do i pass a value to a function?
lets say i wanna pass an array of string to a function
char array[50];
printf("Enter a string:")
scanf("%s",array);
how do i pass this array to a...
Type: Posts; User: shad0w
how do i pass a value to a function?
lets say i wanna pass an array of string to a function
char array[50];
printf("Enter a string:")
scanf("%s",array);
how do i pass this array to a...
okok...i got it thanx alot u guys but there's still another problem regarding the fscanf or fgets call
I've modified my program to
main(){
char name[100];
int x,name;
FILE *fptr;...
There's still a problem with the program.
The error only occurs when I enter more than 1 name.
An error screen will popup saying that this program has performed an illegal operation.
Why is this...
I have this problem with binary files. I cant access the file properly. Here is a portion of my program:-
main(){
char name[1000];
int x,num;
FILE *fptr;
fptr=fopen("name.txt","w");...
how do i write a program to evalute postfix expression?
what method should i use?
please help..i'm dying right here trying to figure out the damn thing. My friend said I can use link list to do...