So, What is C Programming and why should we learn it as a beginner on IT industries?   C is a programming language developed at AT & T’s Bell Laboratories of USA in 1972 by Dennis Ritchie.  it is a general-purpose programming language that is extremely popular, simple, and flexible to use. It is a structured […]

Top 5 free Website to learn Coding online.

Top 5 Free Websites to Learn Coding online. Learning how to code can change your life for good. It’s never been easier to teach yourself technical skills online and start a career as a developer. How can you find the best websites to learn coding from scratch as a beginner? How can you make sure […]

Write a C Program to count numbers of vowels and consonants?

Write a C Program to count numbers of vowels and consonants? In the C Program to count numbers of vowels and consonants, we should use string, switch case for, etc., conditional statements and loops. You can see here how we can write a c program to count numbers of vowels and consonants. The letters of […]

write a c program to To calculate factorial using while loop

/* C Program to calculate factorial using while loop */ Factorial of a whole number ‘n’ is defined as the product of that number with every whole number till 1. For example, the factorial of 4 is 4×3×2×1, which is equal to 24. It is represented using the symbol ‘!’ So, 24 is the value […]

Write a c program to Print the largest even and odd number from the list?

To print the largest even and odd number from the input 10 number, in C Program you have to write a code like this. /* Print the largest even and odd number from the list */ #include<stdio.h> #include<conio.h> void main() { int i, num, even=0, odd=0; printf(“\nEnter any ten numbers: “); for(i=0;i<10;i++) { scanf(“%d”,&num); if […]

C program to show increment and decrement operators uses

write a C program to show the increment and decrement operators uses… /* Increment and decrement operations */ #include<stdio.h> void main() { int a,b,c; a = b = c = 0 ; printf( ” Initial value of a,b,c %d %d %d \n”, a,b,c); a = ++b + ++c; printf( ” a = ++b + ++c […]

What is dynamic binding in c++? with example

polymorphism is the ability to use an operator or function in different ways. Polymorphism gives different meanings to the operator or functions. Poly, referring to-many, signifies the many use of these operators and functions. A single function usage in many forms or an operator functioning in many ways can be called polymorphism. For example:- #include<iostream.h> […]

C++ program to overload ‘+’ operator to find the sum of two complex numbers

#include<iostream.h> #include<conio.h> class add { public: inta,b; add(intr,int i) { a=r; b=i; } add() { } add operator +(add); void disp(); }; add add::operator + (add t1) { add t2; t2.a=a+t1.a; t2.b=b+t2.b; return t2; } void add :: disp() { cout<<” \n RESULT=” <<a<<”and”<<b; } void main() { clrscr(); add pix1(12,4); add pix2(82,4); add pix3; […]

concept of reusability, How it is achieved in C++?

software re-usability is primary attribute of software quality. C++ strongly supports the concept of  reusability. C++ features such as classes, virtual function, and templates allow designs to be expressed so that re-use is made easier there are many advantage of reusability. They can be applied to reduce cost, effort and time of software development. It […]