Category: Simple C programs

0

Silly Codes : C Program to Perform Arithmetic Operations on Given Integers | Arithmetic operations C program

/******************Program****************/

/******************OUTPUT****************/ Related Reading : C program to test Leap year  C program to Find Area and...

Write a program to accept a character and determine whether it is an alphabet, character or special symbol 0

Write a program to accept a character and determine whether it is an alphabet, character or special symbol

/********* Program **********/ #include<stdio.h>#include<ctype.h> main(){        char ch;        printf(“Enter character to test :”);        scanf(” %c”,&ch);         if(isalpha(ch))  //is alpha available...

Write a program to check that the input string is a palindrome or not 0

Write a program to check that the input string is a palindrome or not

/******* Program **********/ #include<stdio.h>#include<string.h>main(){        char str[20];        int i,j,len,cnt;        cnt = 0;         printf(“Enter string to test :”);        scanf(“%s”,str);...

Program to Calculate Size of Basic Datatypes in C | Basic Datatypes Size in C | Basic C Datatypes 0

Program to Calculate Size of Basic Datatypes in C | Basic Datatypes Size in C | Basic C Datatypes

/**************Program*****************/ #include<stdio.h>void main(){    int i;    char ch;    long int li;    float f;    double...

0

C Program to Perform Arithmetic Operations on Given Integers | Arithmetic operations in C program

/******************Program****************/ #include<stdio.h>void main(void){    int a,b; printf(“Enter Value for a :”); scanf(“%d”,&a); printf(“Enter Value for b :”); scanf(“%d”,&b);...