Which is the correct syntax for the function gcvt() in C?

  1. char *gcvt(double value,int digit,char buf);

  2. char *gcvt(double value,int digit,char *buf);

  3. char *gcvt(double value,int digit,char *buf)

  4. char *gcvt(double value,int digit,char buf)


Correct Option: B

Find more quizzes: