/* * * Readme: How to compile and Run $gcc test.c -o test -lm $valgrind valgrind --tool=callgrind ./test $ls callgrind.out.* callgrind.out.29248 //output of ls ; here 28248 is pid $kcachegrind callgrind.out.29248 */ #include #include int main(){ printf("\n Value of sin 30 is %f", sin(3.142/6.0)); return 0; }