3. What is output function? Write its syntax.
Answers
Answered by
1
An output function is a function that an optimization function calls at each iteration of its algorithm. Typically, you use an output function to generate graphical output, record the history of the data the algorithm generates, or halt the algorithm based on the data at the current iteration.
The format specification string, along with the data to be output, are the parameters to the printf() function. Syntax: ... This string contains, for each variable to be output, a specification beginning with the symbol % followed by a character called the conversion character. Example: printf (“%c”, data1).
please mark me brain mark list
Similar questions