The right way to define a C function with no arguments

Jacob Sorber July 4, 2023
Video Thumbnail
Jacob Sorber Logo

Jacob Sorber

View Channel

About

Welcome to my channel. I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. I help you get under-the-hood to better understand how computers work and how you can use them to become stronger students and more capable professional developers. About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. More about me and what I do: https://www.jacobsorber.com https://people.cs.clemson.edu/~jsorber/ http://persist.cs.clemson.edu/ To Support the Channel: + like, subscribe, spread the word + contribute via Patreon --- [https://www.patreon.com/jacobsorber] Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]

You May Also Like

Essential C Programming Books & Tools

AI-recommended products based on this video

Loading...
2-Pack Lutein Eye Serum with Roller Ball – Anti-Wrinkle, Dark Circles Removal | Lutein Eye Essence Oil with Vitamin C for Hydration, Fast Absorption | Under Eye Care for Fatigue, Light Protection & Brightening

2-Pack Lutein Eye Serum with Roller Ball – Anti-Wrinkle, Dark Circles Removal | Lutein Eye Essence Oil with Vitamin C for Hydration, Fast Absorption | Under Eye Care for Fatigue, Light Protection & Brightening

(2)
$15.77
$2.99 delivery Aug 27 - Sep 9
200+ bought in past month
Loading...
12V/24V 100W Car Laptop Charger USB C for Lenovo Thinkpad MacBook HP Dell Acer Asus,Google,MSI, LG, Samsung,Huawei,Surface pro 9 8, Razer, Chromebook, ROG Ally, Steam Deck and All Type-C Devices

12V/24V 100W Car Laptop Charger USB C for Lenovo Thinkpad MacBook HP Dell Acer Asus,Google,MSI, LG, Samsung,Huawei,Surface pro 9 8, Razer, Chromebook, ROG Ally, Steam Deck and All Type-C Devices

(6)
$29.99
FREE delivery Tue, Jun 17 on your first order
50+ bought in past month
Loading...
65W USB C for Lenovo Laptop Charger for Lenovo Thinkpad/Chromebook/Ideapad/Yoga Series-USB C Laptop Charger for Lenovo T14 Thinkpad T480 T490 Yoga 7i 9i Thinkpad X1 Carbon

65W USB C for Lenovo Laptop Charger for Lenovo Thinkpad/Chromebook/Ideapad/Yoga Series-USB C Laptop Charger for Lenovo T14 Thinkpad T480 T490 Yoga 7i 9i Thinkpad X1 Carbon

(11)
$24.09
FREE delivery Sun, Jun 22 on your first order
500+ bought in past month
Loading...
Lemorele Docking Station Dual Monitor, 6 in 1 USB C Hub Multiport Adapter w/2 HDMI 4K, 5Gbps USB3.0 & 2 USB2.0, 100W PD Charging - USB C Dock for Laptop Dell/HP/MacBook/Surface - Plug and Play
Best Seller

Lemorele Docking Station Dual Monitor, 6 in 1 USB C Hub Multiport Adapter w/2 HDMI 4K, 5Gbps USB3.0 & 2 USB2.0, 100W PD Charging - USB C Dock for Laptop Dell/HP/MacBook/Surface - Plug and Play

(1,822)
$27.19
Prime
1K+ bought in past month
Loading...
Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

(382)
$94.95
PrimeFREE delivery Sat, Jun 14
Loading...
New Slim 65W USB C Laptop Charger for Lenovo ThinkPad Yoga 7i 7 9i 9 2-in-1 Yoga Book 9i Gen 10 ThinkBook 16 15 14 Gen 8/7 13s 13x 14s IdeaPad Slim/Pro 5X 5i 5 3X 3i 3 2-in-1 Type C Power Cord

New Slim 65W USB C Laptop Charger for Lenovo ThinkPad Yoga 7i 7 9i 9 2-in-1 Yoga Book 9i Gen 10 ThinkBook 16 15 14 Gen 8/7 13s 13x 14s IdeaPad Slim/Pro 5X 5i 5 3X 3i 3 2-in-1 Type C Power Cord

(13)
$24.99
FREE delivery Sat, Jun 21 on your first order
Loading...
135W USB C AC Adapter Charger for Lenovo ThinkPad Z16 P16s P15s P14s E16 E15 E14 T16 Yoga/Slim Pro 9 7 6 7i 9i Book 9 ThinkBook 16 14p 14 15 14s IdeaPad Slim/Pro 9 7 5 Legion 9 Laptop ADL135YSDC3A

135W USB C AC Adapter Charger for Lenovo ThinkPad Z16 P16s P15s P14s E16 E15 E14 T16 Yoga/Slim Pro 9 7 6 7i 9i Book 9 ThinkBook 16 14p 14 15 14s IdeaPad Slim/Pro 9 7 5 Legion 9 Laptop ADL135YSDC3A

(1)
$59.99
FREE delivery Sun, Jun 22
Loading...
140W C to Magnetic 3 Charger, Compatible with MacBook Air 13, 15 Inch/Mac Book Pro 14, 16 Inch, M1/M2/M3/M4 from 2021/2022/2023/2024/2025 Models, 6.6FT【Original Quality】

140W C to Magnetic 3 Charger, Compatible with MacBook Air 13, 15 Inch/Mac Book Pro 14, 16 Inch, M1/M2/M3/M4 from 2021/2022/2023/2024/2025 Models, 6.6FT【Original Quality】

(71)
$49.99
PrimeFREE delivery Sat, Jun 14
200+ bought in past month
Loading...
JDR Harmonica C, Blues armonica Key of C 10 Hole 20 Tone with Case Mouth Organ Standard Diatonic for Kids Beginner Adults Professional Player Teacher Parents Students Black New Year Gift
Best Seller

JDR Harmonica C, Blues armonica Key of C 10 Hole 20 Tone with Case Mouth Organ Standard Diatonic for Kids Beginner Adults Professional Player Teacher Parents Students Black New Year Gift

(1,384)
$17.88
FREE delivery Sat, Jun 14 on your first order
900+ bought in past month
Loading...
Multi Charging Cable, Multi Charger Cable 3 in 1 Charger Fast Charge Multiple Ends 4FT Braided Universal Charging Cord with USB C Micro Lightning Cord for iPhone iPad Samsung Android Phone Tablet Global Recycled Standard

Multi Charging Cable, Multi Charger Cable 3 in 1 Charger Fast Charge Multiple Ends 4FT Braided Universal Charging Cord with USB C Micro Lightning Cord for iPhone iPad Samsung Android Phone Tablet Global Recycled Standard

(41)
$8.99
FREE delivery Sun, Oct 5 on your first order
600+ bought in past month
Loading...
2-Pack Lutein Eye Serum with Roller Ball – Anti-Wrinkle, Dark Circles Removal | Lutein Eye Essence Oil with Vitamin C for Hydration, Fast Absorption | Under Eye Care for Fatigue, Light Protection & Brightening

2-Pack Lutein Eye Serum with Roller Ball – Anti-Wrinkle, Dark Circles Removal | Lutein Eye Essence Oil with Vitamin C for Hydration, Fast Absorption | Under Eye Care for Fatigue, Light Protection & Brightening

(2)
$15.77
$2.99 delivery Aug 27 - Sep 9
200+ bought in past month
Loading...
12V/24V 100W Car Laptop Charger USB C for Lenovo Thinkpad MacBook HP Dell Acer Asus,Google,MSI, LG, Samsung,Huawei,Surface pro 9 8, Razer, Chromebook, ROG Ally, Steam Deck and All Type-C Devices

12V/24V 100W Car Laptop Charger USB C for Lenovo Thinkpad MacBook HP Dell Acer Asus,Google,MSI, LG, Samsung,Huawei,Surface pro 9 8, Razer, Chromebook, ROG Ally, Steam Deck and All Type-C Devices

(6)
$29.99
FREE delivery Tue, Jun 17 on your first order
50+ bought in past month
Loading...
65W USB C for Lenovo Laptop Charger for Lenovo Thinkpad/Chromebook/Ideapad/Yoga Series-USB C Laptop Charger for Lenovo T14 Thinkpad T480 T490 Yoga 7i 9i Thinkpad X1 Carbon

65W USB C for Lenovo Laptop Charger for Lenovo Thinkpad/Chromebook/Ideapad/Yoga Series-USB C Laptop Charger for Lenovo T14 Thinkpad T480 T490 Yoga 7i 9i Thinkpad X1 Carbon

(11)
$24.09
FREE delivery Sun, Jun 22 on your first order
500+ bought in past month
Loading...
Lemorele Docking Station Dual Monitor, 6 in 1 USB C Hub Multiport Adapter w/2 HDMI 4K, 5Gbps USB3.0 & 2 USB2.0, 100W PD Charging - USB C Dock for Laptop Dell/HP/MacBook/Surface - Plug and Play
Best Seller

Lemorele Docking Station Dual Monitor, 6 in 1 USB C Hub Multiport Adapter w/2 HDMI 4K, 5Gbps USB3.0 & 2 USB2.0, 100W PD Charging - USB C Dock for Laptop Dell/HP/MacBook/Surface - Plug and Play

(1,822)
$27.19
Prime
1K+ bought in past month
Loading...
SUPWEE 3D Nail Sculpting Gel Solid Builder Gel for Nails Art, Non-Sticky Hand Hard Gels for Extension Moding Carving DIY at Home 14g(0.49fl oz)

SUPWEE 3D Nail Sculpting Gel Solid Builder Gel for Nails Art, Non-Sticky Hand Hard Gels for Extension Moding Carving DIY at Home 14g(0.49fl oz)

(765)
$11.39
200+ bought in past month
Loading...
iPhone Charger Fast Charging [Apple MFi Certified] USB C to Lightning Cable 6FT USBC to Lightning Cable Nylon Braided Type C Cord for iPhone 14 13 12 11 Pro Max XR XS X 8 7 6 Plus SE, iPad

iPhone Charger Fast Charging [Apple MFi Certified] USB C to Lightning Cable 6FT USBC to Lightning Cable Nylon Braided Type C Cord for iPhone 14 13 12 11 Pro Max XR XS X 8 7 6 Plus SE, iPad

(4,036)
$8.99
FREE delivery Sun, Jun 29 on your first order
2K+ bought in past month
Loading...
USBC Charger Block for iPhone 16 Charging Plug,MFI Certified Fast USB C Wall Cube 2Pack Power Adapter for iPhone 15/16 Pro/Plus/Pro Max/14/13/12/11,for iPad Air/Mini USB-C Charge Brick Box

USBC Charger Block for iPhone 16 Charging Plug,MFI Certified Fast USB C Wall Cube 2Pack Power Adapter for iPhone 15/16 Pro/Plus/Pro Max/14/13/12/11,for iPad Air/Mini USB-C Charge Brick Box

(6,878)
$13.99
FREE delivery Wed, Aug 20 on your first order
5K+ bought in past month
Loading...
USB to USB C Cable for iPhone 16/15 [MFi Certified] Carplay Cable Car Charger Cord 6FT/4Pack Compatible with iPhone 16/16 Plus/16 Pro/16 Pro Max, iPhone 15/15 Plus/15 Pro/15 Pro Max,iPad Air/Mini

USB to USB C Cable for iPhone 16/15 [MFi Certified] Carplay Cable Car Charger Cord 6FT/4Pack Compatible with iPhone 16/16 Plus/16 Pro/16 Pro Max, iPhone 15/15 Plus/15 Pro/15 Pro Max,iPad Air/Mini

(1,176)
$16.97
FREE delivery Sat, Jun 14 on your first order
100+ bought in past month