C Programs | IT Developer
IT Developer

C Programs



Share with a Friend

C Program: Display "C Programming is Powerful"

C Program: Display "C Programming is Powerful"

C

#include <stdio.h>   // Standard Input Output header

 

// Main function: execution starts here

int main() {

    // Printing the message

    printf("C Programming is Powerful\n");

   

    return 0; // Indicating successful program termination

}

Output

 
OUTPUT  :
C Programming is Powerful

Explanation :

  1. #include <stdio.h>
    • Includes the Standard Input Output library.
    • Needed for using printf() to display output on the screen.
  2. int main()
    • Entry point of every C program.
    • Program execution begins here.
  3. printf("C Programming is Powerful\n");
    • printf() displays the text message inside quotes.
    • "C Programming is Powerful" is the message to print.
    • \n moves the cursor to the next line after printing.
  4. return 0;
    • Exits the program successfully.
    • Returns control to the operating system.