Here is another problem from K&R , I have been sittin with it for 4 hours
This program tried to concatenate two strings. It aint doin it
#include "stdio.h"
Type: Posts; User: karanmitra
Here is another problem from K&R , I have been sittin with it for 4 hours
This program tried to concatenate two strings. It aint doin it
#include "stdio.h"
Here is another problem from K&R , I have been sittin with it for 4 hours :(
This program tried to concatenate two strings. It aint doin it
#include "stdio.h"
int str_cat(char *,...
Thats the answer guys
char *a;
then the assignment a points to element 0 of a and a contains the address of a[0],
a = &a[0]
page 98-99 K&R
Thanks Guys!
yep moonlord!!
Thats what i believe too !! well i m still checkin out some references
cheers
mate i am just tryin to compare stings here . If compared successfully the value returned in 0. if s<t then value returned is <0 . Thanks for ur help . I am comfortable with the basic idea now .
I...
Thanks mate,
But i havent understood the funda if i do
ret_val = stcmp(char *a, char *b)
I am passing the first values ie : t and t and in the called function the processing is done from...
Its stilll giving problems man!
I m stuck here guys! Dont know why . I get an error sayin
/***********error********************/
str_cmp.c: In function `main':
str_cmp.c:10: error: syntax error before "char"...