programming

Check for Prime number

A prime number is greater than one and can be divided by one or itself. In other words, prime numbers…

2 years ago

Command Line Argument in Java

The java command-line argument is a parameter that is passed to the java program when it is run. The arguments…

2 years ago

The switch vs if-else

The switch and if-else both are selection statements, and they both let you select an alternative out of the given…

2 years ago

Format specifiers in C

Format Specifiers in C are used during input and output operations. They specify what kind of data is getting printed…

3 years ago

Comments in C

Comments in C are an explanation or description of the source code of the program. It helps a developer explain the…

3 years ago

Operators in C

Operators in C are symbols that are used to perform operations on operands(operands can be a constant, a variable, or…

3 years ago

Data Types in C

Data types in C refer to how much memory it occupies in storage and how the bit pattern stored is…

3 years ago

Variables & Constants in C

Variables & Constants in C are formed by combining alphabets, numbers, and special symbols. Let us see what are 'constants'…

3 years ago

Identifiers in C

Identifiers in C are the basic building block of a program. As the name suggests, they are used to identify…

3 years ago

Keywords in C

There is a close analogy between learning the English language and learning the C language. We start learning English by…

3 years ago