Computer Science, asked by plabade6604, 1 year ago

Which is the only function all C programs must contain?
A.start()
B.system()
C.main()
D.printf()

Answers

Answered by StaceeLichtenstein
13

Option(c) is the correct answer to the given question.

Explanation:

  • In the C programming language, the main() method or function is the mandatory function because all the compilation process is started with the main() function it means when we start compilation process in the c programming language the control moves to the main() and read the function and variable sequentially inside the main function.
  • If we do not write the main function() the program will never run there is always error is generated in the compilation time.
  • Option(A) and Option(B) are not related to the c programming language that's why they are incorrect Option.    
  • Option(D) is not a mandatory function so it is an incorrect option.

Learn More:  

  • brainly.in/question/10452107
Answered by skis0903
0

Answer:

main()

Explanation:   In the C programming language, the main() method or function is the mandatory function because all the compilation process is started with the main() function it means when we start compilation process in the c programming language the control moves to the main() and read the function and variable sequentially inside

Similar questions