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

Function main

Chapter 3/03_non_zero.c:3–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <stdio.h>
2
3int main(){
4
5 if(1){
6 printf("This if is executed!\n");
7 }
8 if(2345){
9 printf("This if is also executed!\n");
10 }
11 if(2.74){
12 printf("This if is also executed!\n");
13 }
14 if('c'){
15 printf("This character inside if is also executed!\n");
16 }
17 if(0){
18 printf("I am zero - I am not executed\n");
19 }
20 return 0;
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected