5
The output of printf("%u", -1) is
Select one:
ut of
a. -1
b. minimum int value
c. maximum int value
d. Error message
Answers
Answered by
3
Answer:
Fleming's Left-Hand Rule is a simple and accurate way to find the direction of force/motion of the conductor in an electric motor when the magnetic field direction and the current direction are known. It was originally developed by John Ambrose Fleming, an English electrical engineer, in the late 19th century
Answered by
0
Option D) Error message
The output of printf("%u", -1) is Error message
- It is a means of informing the compiler what kind of data is included in a variable when taking input with scanf() or outputting with printf (). Examples are %c, %d, %f, %u, etc. Both input and output employ the format specifier.
- It is a means of informing the compiler what kind of data is included in a variable when taking input with scanf() or outputting with printf (). The%u format specifier is used to retrieve values from a variable's address in memory that contains an unsigned decimal integer. The unsigned integer variable is printed using it in the printf() function.
- %u. It is used to print unsigned integer values, which only allow positive values to be stored in the variable. %o. It is used to print octal unsigned integers, which always begin with a value of 0. %x.
#SPJ2
Similar questions