Computer Science, asked by grraj4858, 9 months ago

Write a c program to print a greeting of your choice on the screen

Answers

Answered by codiepienagoya
2

Print greeting, by using the C language.

Output:

C is the procedural language.

Explanation:

Program to print greeting in C language as follows:

Program:

#include <stdio.h> //defining header file

int main() //defining main method

{

printf("C is the procedural language."); //printing message

return 0;

}  

Description of the above code as follows:

  • Firstly, the header file is included in the above C language code.
  • The next line, the main method declared, and inside the "printf" function is used within this method.
  • The dual quotes are uses inside the "printf" function, in which the value "C is the procedural language." is passed, that prints message, which appears on the console screen.

Learn more:

  • Message print in C: https://brainly.in/question/5855599
  • Message print in Java: https://brainly.in/question/14775204
Similar questions