Thanks for reply.
@ Adak : I thought of this solution but user input any character even spacial character.
So if input string length is more than available total ascii values(255)...
Type: Posts; User: ypp174
Thanks for reply.
@ Adak : I thought of this solution but user input any character even spacial character.
So if input string length is more than available total ascii values(255)...
Thanx for reply,
@ Salem : I understood, means I am first sorting n elements and then comparing n elements.
But according to your logic i need to delete common k element and...
Yup...
if i use n = sizeof(a)-1;
then its working....:)
Any 1 plz suggest easier way to do this.
Output is coming equal; how come?If string 1 is "dabcd" and string 2 is "bcadd" then it should show similar strings.
Any one can suggest any other easy way to do this....
#include<stdio.h>
...
If I used %f in scanf then also it is giving similar warnings,
temp1.c:24: warning: format ‘%f’ expects type ‘float *’, but argument 2 has type ‘int’
temp1.c:24: warning: format ‘%f’ expects type...
Hi,
again some problem,
In above program if I add scanf then its giving following warnings with -Wall options.
temp1.c:24: warning: format ‘%d’ expects type ‘int *’, but argument 2 has type...
Thanx oogabooga,
Its solved and with option -Wall its showing that warning too.
I wrote following program,
Its compiling without errors but giving wrong output.
output should be 2 but giving 0;
Can anybody tell me what is my mistake?
Thanx in avd.
float Plus (float...