Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

whats is c program and example ?

+24 votes
asked Jul 19, 2024 by VIGNESH R (980 points)

3 Answers

+2 votes
answered Jul 19, 2024 by ShaikImran21 (180 points)

A C program is a set of instructions written in the C programming language that instructs a computer to perform specific tasks. These tasks could range from simple calculations to complex operations. C programs are structured into functions, with the main() function being the entry point where execution begins.

Example: Hello, World! Program

Here's a classic example of a simple C program that prints "Hello, World!" to the console:

#include <stdio.h>

int main() {
    printf("Hello, World!\n");
    return 0;
}

+7 votes
answered Jul 19, 2024 by Joshua .s (290 points)
C is a general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972.

It is a very popular language, despite being old. The main reason for its popularity is because it is a fundamental language in the field of computer science.

C is strongly associated with UNIX, as it was developed to write the UNIX operating system.
+3 votes
answered Jul 22, 2024 by GEETHIKA INAKOLLU (210 points)
c is a computer programming language that was created in the early 1970s.

c is the most widely used language in the application programming

c is a powerful general-purpose programming language which is use in software development

c is general-purpose programming language and can efficiently work on enterprise applications ,games ,graphics, and applications requiring calculations, etc...
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...