Q:

Predict the output of below code:

0

Predict the output of below code:

#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. Output : 0.4
  2. Output : 24.4
  3. Output : 25.4
  4. Output : 23

All Answers

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

Correct Answer:

Output : 23

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

total answers (1)

Predict the output of below code:... >>
<< Let x be an array. Which of the following are ille...