Month: May 2017

12
May
2017

Create Your Own Header Library to use In C program

Understand the basics will learn it later on. Vid:

12
May
2017

strcmp() explained perfectly

code: #include<stdio.h> #include<string.h> int main() { char first[90]=”abc”; char second[80]=”cat”; int i; i=strcmp(first,second); if(i==0) printf(“Both are equal\n”);…

11
May
2017

Another Approach To Find the Length Of String

code: #include<stdio.h> #include<string.h> int main() { int i; char str[80]; printf(“Enter a string:”); scanf(“%[^\n]”,str); //for(i=0; str[i]!=’\0′; i++);…

11
May
2017

String Secret Revealed in C

String Input Take Without any gets function just scanf is enough for taking any input withlout gets function #include<stdio.h>…

11
May
2017

2d Array Explained Perfectly

Vid: code: #include<stdio.h> int main() { int x[4][3]; int i,j; for(i=0; i<4; i++) { for(j=0; j<3; j++)…

11
May
2017

Modulo in Details

We can easuly get a range of output value after mod: Code: for 100 here print from…