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

Write a c program to show the example of increment operator

#include
void main()
{
int a=8, b=2, x=8, y=2, sum1, sum2;
/* Increment then add */
sum1=a+(++b);
/* Add then increment */
sum2=x+(y++);
printf(“\nSUM1=%d”,sum1);
printf(“\nSUM2=%d”,sum2);
}

run

SUM1=11
SUM2=10

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.