#include <stdio.h> int main() { printf("Hello, World!\n"); return 0; }
#include <stdio.h> int square(int num) { return num * num; } int main() { int result = square(5); printf("Square: %d\n", result); return 0; }
<string.h>
library includes functions like strlen()
and strcpy()
that simplify string manipulation.malloc()
, calloc()
, realloc()
, and free()
facilitate effective memory utilization.