MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-C-Programming-Course / main

Function main

Chapter 8/02_printing_strings.c:3–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <stdio.h>
2
3int main(){
4 // char st[] = {'a', 'b', 'c', '\0'};
5 char st[] = "abc"; // Same as doing char st[] = {'a', 'b', 'c', '\0'};
6 // for (int i = 0; i < 3; i++){
7 // printf("%c", st[i]);
8 // }
9
10 printf("%s", st);
11
12
13 return 0;
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected