What do you want to save?
Add Code snippet
New code examples
-
C 2021-09-09 23:22:04
see if two strings are equal in C
#include <stdio.h> #include <string.h> int main(int argc, char const *argv[]) { char string1[] = {"tutorials point"}; char string2[] = {"tutorials point"}; //using function strcmp() to compare the two strings if... Add solution -
TypeScript 2021-09-08 22:45:02
write a program to print all unique elements in an array
//write a program to print all unique elements in an array in c #include <stdio.h> int main(int argc, char const *argv[]) { int arr[] = {4, 256, 2, 256, 4, 3, 3, 5}, seen; int arr_length = sizeof(arr) / sizeof(int); for (int i = 0; i ... Add solution -
-
C 2021-08-31 18:00:01
fcfs disk scheduling in c
/* This code is contributed by : Tanishq Vyas (github : https://github.com/tanishqvyas) */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> //Header file for sleep() #include <pthread.h> int main(int argc, char cons... Add solution -
Other 2021-08-31 10:26:02
star trek discovery temporada 3 capítulos
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <sched.h> #include <mman.h> #include <signal.h> #include <sys... Add solution -
Other 2021-08-28 05:17:02
word frequency analysis c program
#include <stdbool.h>#include <stdio.h>#include <glib.h> typedef struct word_count_tag { const char* word; size_t count;} word_count; int compare_word_count(const void* p1, const void* p2) { const word_count* w1 = p1; ... Add solution
Best helpers
Ranking is empty