C

  • C

Using Macros Find Arithmetic Mean, Absolute Value, Biggest of 3 number and convert upper case alphabet to lower case: C Program

Problem Statement: Write down macro definitions for the following: 1. To find arithmetic mean of two numbers. 2. To find…

4 years ago
  • C

Using Macros Find Area and Perimeter of Triangle, Square, Circle: C Program

Problem State: Write macro definitions with arguments for calculation of area and perimeter of a triangle, a square and a…

4 years ago
  • C

Using Macros Check For Uppercase / Lowercase and Alphabet or Not and Biggest of 2 Numbers: C Program

Problem State: Write down macro definitions for the following: 1. To test whether a character is a small case letter…

4 years ago
  • C

C Program To Print Multiplication Table Using Macros

In this video lets see how we can print multiplication table(from 1 to 10) for any positive user input value,…

4 years ago
  • C

Positive or Negative or Zero Using Macros: C Program

C Program to check whether the user input integer number is positive, negative or zero using Macros and ternary /…

4 years ago
  • C

Even or Odd Number using Macros: C Program

Lets write a C program to find if the user input number is odd or even, using Macros. Related Read:…

4 years ago
  • C

C Program To Determine Leap Year or Not using Macros

In this video tutorial lets learn how to determine user input year is a leap year or not, using Macros…

4 years ago
  • C

Swap 2 Numbers Using Macros: C Program

Today lets learn how to swap two integer numbers(using a temporary variable) using Macros in C. Video Tutorial: Swap 2…

4 years ago
  • C

Biggest of 3 Numbers using Macros: C Program

In this video lets see how we can make use of Macros and ternary / conditional operator to find biggest…

4 years ago
  • C

Macro Continuation (\) Preprocessor Operator: C Program

In this video lets see how we can have multiple line of code inside macro expansion, by using preprocessor operator…

4 years ago