Category: C
#include<stdio.h> int main(void){ unsigned int i; int j; i=1; /*left shifts */ for(j=0;j<4;j++){ i=i<<1; printf(“Left Shift %d:…
Here is the example: #include<stdio.h> int xor(int a, int b); int main(void) { printf(“%d\n”,xor(0,0)); printf(“%d\n”,xor(0,1)); printf(“%d\n”,xor(1,0)); printf(“%d\n”,xor(1,1));…
#include<iostream> using namespace std; int main(){ long long int n,tr, ary1[100000],ary2[100000],d; cin>>n; for(int i=0; i<n; i++){ cin>>ary1[i];…
http://dharanyadevi.blogspot.com/2012/04/palindrome-in-c-without-using-string.html
Recent Comments