-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.c
More file actions
27 lines (23 loc) · 790 Bytes
/
sample.c
File metadata and controls
27 lines (23 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* sample.c
* A simple C program to demonstrate printing messages to standard output.
* This program is used as part of a playground for Git and code experiments.
*/
#include <stdio.h>
/*
* PUBLIC_INTERFACE
* main - Entry point of the program
* @ac: Argument count (number of command-line arguments)
* @av: Argument vector (array of command-line arguments)
*
* Returns: 0 on successful execution
*/
int main (int ac, char *av[])
{
// Print a greeting message to the terminal
printf("Hello world Hello Git Hello Github\n");
// Print a message indicating this line was added via a code maintenance prompt
printf("added this line via KAVIA code maintenance prompt to explore KAVIA AI\n");
// Return 0 to signal successful program execution
return 0;
}