Beware of Type Casting in C – How to do it Right
Explore the principles of type casting in C programming to avoid misuse and loss of data precisions problems
Explore the principles of type casting in C programming to avoid misuse and loss of data precisions problems
A C struct is one of the most common construct used in C programming. Learn to define, declare and use a C struct
C programming essentials. Learn the basis of data types in C. Know what they are, what kind of values they hold and the sizes they occupy.
Declaring a variable is fundamental, but knowing its scope when declared in different ways proves to be more important. Be cautious!
bits and bytes are the fundamentals to binary system that most computing systems are based on. A good C developer must know about them
Using the goto in C is often considered as a bad practice, but it is not always bad, let me show you one best use case with it
Previously, we discussed how to perform a simple backup using pg_rman. As pg_rman can back up PostgreSQL at the physical file copy level, it is quite useful for daily database maintenance. Particularly, pg_rman supports incremental backup, which only backs up the changed data. In this blog, I will explain how incremental backup works in pg_rman. Firstly, all of this relies on the table and index page layout implemented in PostgreSQL. In PostgreSQL, each data page is laid out like this. The pageHeaderData has many attributes, and one of the most important attributes is pd_lsn, which is updated to the last… Read More »Understanding Incremental Data Backup in pg_rman
Learn different types of C loops types in C programming and the best practices of using them with real examples
Learn the basic use cases with C switch statement, understand its advantages over if statements and avoid common mistakes with examples
Learn the basics of if statement in C and its syntax to control to execution flow within your c program with examples
Learn the significance of a C program’s main function, procedure to process user arguments and the methods to define your own function
Learn the responsibilities of a C preprocessor that prepares your source files for compilation and the best practices using it