What do you want to save?
Add Code snippet
New code examples
-
C 2022-01-28 00:16:01
Count the number of letters in a word without using the strlen . function
#include <stdio.h> #include<string.h> int main(void) { int n,m,i,j,d; char tab1[n],tab2[n]; d=0; printf("enter the word :"); gets(tab1); for(i=0;tab1[i]!='\0';i++) d++; printf("%d",d); return 0; } Add solution -
Other 2022-01-27 07:01:35
#include <stdio.h> int main() { char *arr = "iaminibgroup"; printf("%d", sizeof(arr)); getchar(); return 0; }
#include <stdio.h> int main() { char *arr = "iaminibgroup"; printf("%d", sizeof(arr)); getchar(); return 0; } Add solution -
Other 2022-01-26 11:50:34
#include <stdio.h> int main (void) { int a, b; printf("Dwse mou dio akeraious arithmous: \n"); scanf("%d %d", &a, &b); printf("Oi arithmoi poy edwses einai: %d kai %d", a, b); return 0; }
#include <stdio.h> int main (void) { int a, b; printf("Dwse mou dio akeraious arithmous: \n"); scanf("%d %d", &a, &b); printf("Oi arithmoi poy edwses einai: %d kai %d", a, b); return 0; } Add solution -
Other 2022-01-26 11:11:01
Programs to print triangles using *, numbers, and characters
#include <stdio.h> int main() { int i, space, rows, k = 0, count = 0, count1 = 0; printf("Enter the number of rows: "); scanf("%d", &rows); for (i = 1; i <= rows; ++i) { for (space = 1; space <= rows -... Add solution -
C 2022-01-26 08:56:34
print long in c
unsigned long n; long m; printf("%lu %ld", n, m); Add solution -
C 2022-01-26 04:01:05
c shift array left
#include<stdio.h> void main() { int i,n,a[100],temp; printf("Enter the number of elements:\n"); scanf("%d",&n); pr... Add solution -
Go 2022-01-26 03:11:33
golang mongo fetch doc
import "go.mongodb.org/mongo-driver/mongo" // Inside a func // Set up the client host := fmt.Sprintf("mongodb://%s:%s@%s:%s", "username", "password", "127.0.0.1", "27017") client, err ... Add solution
Best helpers
Zulu
+5
Calista
+5
Shivam Patel
+5
MGA
+5
Brad Thomas
+5
DJaye
+5
Umesh
+5
Hassaan
+5
Loronzo
+5
Vermilions
+5
Ian Goldby
+5
Elenaher
+5
Nerrolken
+5
OiciTrap
+5
RLHanout
+5