Category: C
Simple Logic For Finding Prime Number is primarility test is 2 to root of n..Source: Wikipedia The…
Understand the basics will learn it later on. Vid:
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”);…
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++);…
String Input Take Without any gets function just scanf is enough for taking any input withlout gets function #include<stdio.h>…
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++)…
Recent Comments