Computer Science, asked by dawood403409, 8 months ago

Q. The statement Printf ("%d, 10 ? 0?5:1:12);
will print?
plz explain properly step by step...​

Answers

Answered by 1982shalinisuji
2

Answer:

Prince function C language is C programming language printf function is used to the print characters train octal float

Answered by ashishks1912
0

Title:

Finding Output

Explanation:

  • "Error" will be printed in the output screen.
  • Printf() command is used to print the output in the c programming language.
  • Printf() command has a specific syntax to get implemented.
  • If the syntax goes wrong it will not get implemented.
  • The syntax of the above program for the printf() statement is wrong.
  • It will print the statement missing terminating " in the output screen because %d in the command is initialized with " but not terminated with " correctly.
  • This is the same syntax we use for scanf() in the c programming language.
  • If the terminating " character is given correctly the command will print the output accordingly.
  • Thus the Error is displayed.

Similar questions