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...
Type: Posts; User: ypp174
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...