What do you want to save?
Add Code snippet
New code examples
-
-
-
C# 2022-03-06 15:30:06
unity c# is not equal to
// != returns true only if its operands are not equal. // Otherwise it returns false. // Here is an example: int a = 1; int b = 2; if (a == b) { Console.WriteLine("A and b have the same value stored in them!"); else if (a != b) { Console.... Add solution -
C 2022-03-05 12:15:01
what is the usage of extern in c
#include <stdio.h> extern int x = 32; int b = 8; int main() { auto int a = 28; extern int b; printf("The value of auto variable : %d\n", a); printf("The value of extern variables x a... Add solution -
C++ 2022-03-03 05:00:01
how to find hcf in c++
// C++ program to find GCD of two numbers #include <iostream> using namespace std; // Recursive function to return gcd of a and b int gcd(int a, int b) { if (b == 0) return a; return gcd(b, a % b); } // Driver program to test above ... Add solution -
Java 2022-02-27 14:30:01
java type casting
Primitive Type casting and Reference Type casting PRIMITIVE CASTING: implicit casting (casting smaller type to larger int a = 100; double c = a;) explicit casting (casting larger to smaller byte b = (byte) a; REFERENCE CASTING: upcasting - implicitl... Add solution -
Java 2022-02-27 11:05:21
java rename file extension
// java rename file extension import java.io.File; import java.io.IOException; import java.util.regex.Matcher; import java.util.regex.Pattern; public class RenameFileExtension { public static boolean renameExtension(String strSource, String strNewExte... Add solution
Best helpers
Ranking is empty