Category: Language

27
Mar
2017

Bitwise Shifting in 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:…

27
Mar
2017

XOR in C

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));…

14
Mar
2017

Details about Pointer

     

10
Mar
2017

C Refresh

23
Feb
2017

PHP Graph

http://stackoverflow.com/questions/4352614/how-to-generate-graphs-and-charts-from-mysql-database-in-php http://www.d3noob.org/2013/02/using-mysql-database-as-source-of-data.htm https://www.dreamhost.com/blog/2016/05/19/generating-charts-from-mysql-database-using-php/ http://www.codediesel.com/visualization/display-line-and-area-charts-in-php-and-mysql/l

17
Feb
2017

Monk and Welcome Problem

#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];…