Menu Close

Conversion Between Decimal and Binary

1. How to Convert Decimal to Binary? In computers, all data is ultimately represented using binary numbers. We need convert Decimal to Binary. 1.1 Conversion…

What is Memory in C Programming?

In C programming, memory is an essential component that is used to store and manipulate data during program execution. Memory in C programming refers to…

Data Types in C Program

C language is a statically-typed programming language, so the variable type must be declared before use. C provides several basic data types, including integer types,…

printf( ) function in C Program

1. printf( ) function In C programming, printf() is one of the main output function. The function sends formatted output to the screen. The “f” in printf…

A Placeholder in C Program

In C language, a placeholder refers to a special symbol used in formatting output functions to indicate the type and format of the data that…

Escape Sequences in C

An escape sequence is a combination of characters that represents a special character, which cannot be represented directly in a string or character literal. In…

Tokens in C Program Language

A token is the smallest element of a program that is meaningful to the compiler. We can define a token as the smallest individual element…

C Program Exercises

C Program Exercises Write a C Program to Check if a Given Number is a Palindrome or not Print a Canada Map in C Program

Canada Map

Print a Canada Map in C Program

Here’s an example code to print a basic map of Canada using ASCII characters in C:   This will output a simple map of Canada…

Identifiers in C Program Language

C identifiers are names used in a C program, such as variables, functions, arrays, structures, unions, labels, etc. Identifiers can be composed of letters, including…

the comment symbols inside the double quotes

Basic Syntax of C Program Language

The Basic Syntax of C we will study includes: Semicolon(;)  and Whitespace Keywords Tokens Identifier Comments Header Files 1.Semicolon(;)  and Whitespace 1.1 Statement The code…