Hello Friends,
I would like to calcute time required by any function
e.g.
start=clock();
scanf("%d",&no) ;//i enter number & stop for 2 seconds
end=clock()
then i printed 'end -start'
but it gives me answer=0
Guide me for why clock() is not working
I hv FEDORA 6.
Tell me other way to solve my TIME PROBLEM.......
I would like to calcute time required by any function
e.g.
start=clock();
scanf("%d",&no) ;//i enter number & stop for 2 seconds
end=clock()
then i printed 'end -start'
but it gives me answer=0
Guide me for why clock() is not working
I hv FEDORA 6.
Tell me other way to solve my TIME PROBLEM.......
Comment