C Programming Code Examples C > Beginners Lab Assignments Code Examples The sizeof operator in C programming language the variable limits in C programming language This program has three functions time: returns the current calendar time of the system or -1 if the system has no time tm structure in C programming language tolower: returns the lowercase equivalent of ch if ch is a letter or ch is returned unchanged toupper: returns the uppercase equivalent of ch if ch is a letter or ch is returned unchanged Use bit shift to calculate Program Code - Use data type: char use global vars in C programming language Use macro in calculation String Programming - Use macro to build string Use Macro to check the int range Use Macro to get the bigger int value Use Macro in C programming language Use marco for small function Use nested if to analyze numbers Use of Logical operators in while loop Use of typedef in Structure Use printf to output variable's address Use result as the if condition Use scanf and printf to read and write float value in console Uses a function prototype to enforce strong type checking Using a structure representing a length Using a variable in C programming language Using ifs to decide on a discount Printf Function - using printf arguments Using the ;amp operator: get the address Variable Types in C programming language Void (void) data type in C programming language Printf Function - width 10, 8 to right of '.' Printf Function - width 20, 2 to right-justify Work with global variable in C programming language Program Code - Working with float Write character to stdout: how to use fputchar Write character to stdout: how to use putchar Write expression inside Ternary operator Page 1 Page 13 Page 14