Category: C interview 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 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);...

0

C program to SWAP two numbers without using temporary variable | Swapping of two numbers using bit-wise operator with XOR operator | Understanding of XOR operator

/********* PROGRAM **********/ #include<stdio.h>main(){ int a,b; printf(“Enter a,b values : “); scanf(“%d%d”,&a,&b); printf(“Before swapping a = %d t...