What do you want to save?
Add Code snippet
New code examples
-
-
Python 2022-03-27 21:25:09
python odd or even
# Python program to check if the input number is odd or even. # A number is even if division by 2 gives a remainder of 0. # If the remainder is 1, it is an odd number. num = int(input("Enter a number: ")) if (num % 2) == 0: print("{0} i... Add solution -
Other 2022-03-27 21:20:24
realloc
int ptr_new = *realloc(void *ptr, size_t size); Where 'ptr_new' is the new pointer you want to point to the required Dynamic memory, 'ptr' is the already existing pointer to a dynamic memory and 'size' is the new size of dynamic memory that you want to a... Add solution
Best helpers
Alexingohr
+5
Cali
+5
Veirtimid
+5
Anon8889
+5
Sardathrion
+5
Nuria
+5
Tony Ong
+5
Mike Adams
+5
Shachna
+5
PoundingRain
+5
Zhengyue
+5
Shahar Tene
+5
Kang
+5
Altexpape
+5
Aung68618
+5