Q:

what will be the output of the following program

0

what will be the output of the following program

#include "stdio.h"
#include "stdlib.h"

int main(int argc, char *argv[]) { 
    char temp[20];
    gcvt(23.45,2, temp);
    printf("%s", temp);
    return 0;
}

  1. 0.45
  2. 0.4
  3. 23.45
  4. 23

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

23

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
A function q that accepts a pointer to a character... >>
<< what will be the output of the following program?...