What do you want to save?
Add Code snippet
New code examples in category C
-
Awgiedawgie 2022-03-21 22:05:02
how to create an int in c
char 1 byte -128 to 127 or 0 to 255 unsigned char 1 byte 0 to 255 signed char 1 byte -128 to 127 int 2 or 4 bytes -32,768 to 32,767 or -2,147,483,648 to 2,147,483,647 unsigned int 2 or 4 bytes 0 to 65,535 or 0 to 4,294,967,295 short 2 bytes -32,768 to 32,... Add solution -
-
Krish 2022-03-20 05:21:16
set firestore merge
The way I understood the difference: set without merge will overwrite a document or create it if it doesn't exist yet set with merge will update fields in the document or create it if it doesn't exists update will update fields but will fail if the doc... Add solution -
Awgiedawgie 2022-03-20 02:50:05
convert python code to c online
ALGORITMO DECLARE num[5,4] NUMÉRICO num_aux, i, j, k, l, m, n, lin, col NUMÉRICO PARA i ← 1 ATÉ 5 FAÇA INÍCIO PARA j ← 1 ATÉ 4 FAÇA INÍCIO LEIA num_aux IF i = 1 E j = 1 ENTÃO num[i,... Add solution -
Phoenix Logan 2022-03-20 00:01:31
how to set a pointer to an offset in c
char *ptr0 = "Hello Goodbye"; char *ptr1 = ptr0+6; // offset 6 bytes from ptr0 printf("ptr0: %s\n", ptr0); // expected output ptr0: Hello Goodbye printf("ptr1: %s", ptr1); // expected output: ptr1: Goodbye Add solution
Best helpers
Ranking is empty