Computer Science, asked by mujahidabibihajira, 1 month ago

b, Explain formatted I/O functions in 'c' long answer

Answers

Answered by anish2008paul
0

Explanation:

J stop KARTIK MARTO you have that kind regards

Answered by jamwantidevi1982
0

Answer:

The function printf() is used for formatted output to standard output based on a format specification. The format specification string, along with the data to be output, are the parameters to the printf() function.C provides standard functions scanf() and printf(), for performing formatted input and output .These functions accept, as parameters, a format specification string and a list of variables.

EXAMPLE -

1 -#include<stdio.h>

2-#include<conio.h>

3-Main()

4-{

5-Char alphabh="A";

6-int number1= 55;

7-float number2=22.34;

8-printf(“char= %c\n”,alphabh);

9-printf(“int= %d\n”,number1);

10-printf(“float= %f\n”,number2);

11-getch();

12-clrscr();

13-retrun 0;

14-}

15-Output Here…

16-char =A

17-int= 55

18-flaot=22.340000

Please mark my answer as brainliest

Similar questions