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

Function main

Chapter 3/06_ternary.c:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <stdio.h>
2
3int main(){
4 // condition ? expression-if-true : expression-if-false
5 int a = 345;
6 int b= 345452;
7 a>b?printf("a is greater"):printf("b is greater");
8}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected