Search:

Type: Posts; User: ypp174

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,809

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

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

    Thanx

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

    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 4 of 5