#include <stdio.h> int main() { int num, rev=0, rem=0,temp; printf(“Enter an integer number: “); scanf(“%d”, &num); temp=num; while(temp!=0) { rem=temp%10;
Continue readingAuthor:
Write a program to swap two numbers without using third variable?
#include <stdio.h> int main() { int i,j,k; printf(” Enter value of i “); scanf(“%d”,&i); printf(” Enter value of j ?
Continue readingWrite A program to swap two bits of a byte in C
#include <stdio.h> int main() { unsigned char ndata=0x0A; binary of 0x0A is : 0000 1010 ndata^=(1<<1); ndata^=(1<<2); // data will
Continue readingWrite a program in C program to find factorial of a number
/** program to find factorial of a number**/ #include <stdio.h> int main() { int number,k; long int fact; printf(“Enter an
Continue readingHow to generate random numbers in C programming?
we can generate random number through rand() function. #include<stdio.h> #include<stdlib.h> int main() { int a; int b; for(a=1;a<11;a++) { b=rand();
Continue readingWhat are the modifiers available in C programming?
There are 5 modifiers available in C programming and these are follows:- Short Long Signed Unsigned long long
Continue readingWhat are the storage class specifiers in C?
There are four different Types of Storage classes in C :- auto, register, static, extern
Continue readingHow to you print ‘Hello World’ without semicolon?
int main(void) { if (printf(“Hello World”)) ; }
Continue readingHow To Identify Version of SQL Server from Backup File
Today, one of my colleague asked me that how can we find the sql version from backup file? then i
Continue readingPerformance Tunning:- Find Index fragmentation in SQL Server Databases
The following script provide the details of the name of each index, the name and schema of the table for
Continue reading