Search:

Type: Posts; User: ypp174

Search: Search took 0.00 seconds.

  1. Thanks for reply. @ Adak : I thought of this...

    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)...
  2. Thanx for reply, @ Salem...

    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...
  3. suggest easier way plzzz

    Yup...
    if i use n = sizeof(a)-1;

    then its working....:)


    Any 1 plz suggest easier way to do this.
  4. See I have 2 string, i need to check whether 2nd sting is jumbled form of first sting

    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>
    ...
  5. Replies
    5
    Views
    1,808

    If I used %f in scanf then also it is giving...

    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...
  6. Replies
    5
    Views
    1,808

    Hi, again some problem, In above program...

    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...
  7. Replies
    5
    Views
    1,808

    Thanx

    Thanx oogabooga,
    Its solved and with option -Wall its showing that warning too.
  8. Replies
    5
    Views
    1,808

    Function returning function pointer : help

    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...
Results 1 to 8 of 9