Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

break statement in C language

if we want to break the execution of loop in while, do while and for loop and switch case we use break satement. Syntax: jump-statement; break; below are examples to illustrate break statement: Example1 Example of C break statement with loop

Cloning and freezing objects

Suppose we have an object and that object is assigned to two different variables. Now if we make any changes to one variable the other variable's will automatically change. For example Obj_1 = [1,2,3] obj_2 = obj_1 obj_2 << 4 p Obj_1 p

Operator operloading in C# via a custom Vector3 class

using System ; class MyVector3{ public float X {get; set;} public float Y {get; set;} public float Z {get; set;} public MyVector3(float x, float y, float z){ X = x ; Y = y ; Z = z ; } public static MyVector3 operator+ (MyVector3 vec

Jagged array in c#

Jagged array is an array of array it means jagged array is a collection of homogeneous arrays. An arrays inside the jagged array are of different length. As the jagged array contains the arrays therefore its collection of homogeneous reference type e

Rewrite hit_target() function

  Rewrite hit_target() function Existing hit_target() function uses a primitive algorithm to get the target coordinates. Your task is to rewrite hit_target() function with the most optimal algorithm to make as few shot

Different types of SQL Joins

The SQL Joins are mostly used to combine records from two or more tables in a database for getting data. A JOIN defined as combining fields from 2 tables. There are several operators that can be used to join tables. The opertaors that are used such

How to replace array elements with another array elements?

Hello friends, Today we will learn how to replace array element with other elements. In PHP, array_replace() function is used to replace the array elements with another array elements with the help of key. That is, elements of the first array will b

ELT function mysql

ELT(N,str1,str2,str3,...) The MySQL ELT function is used for get the Nth element of all listed arguments in the function. The first argument is used for which number of element you want to get. In the argument list the if N = 1 then return str1 and

Types of Applications

Stand Alone Applications The application which are installed on end user system and only one user is allowed to use the application are known as stand alone applications. For eg: MS Office, Media Player, Antivirus etc. Advantages of Stand Alone App

Decomposing the associative array in chunks based on their keys

Consider you have two arrays like the below: 1) $arr1 = Array ( [0] => 2 [1] => 2 [2] => 2 [3] => 3 [4] => 3 ) 2) $arr2 = Array ( [0] => 28 [1] => 48 [2] => 21 [3] => 160 [4] =

1 3 … 485
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: