C Code Samples
A Pattern Drawing In C (C-Code)
[crayon-5a2bbac7ea2a0472070619/] [crayon-5a2bbac7ea2a8547979900/]
C Code Samples
Convert Upto 3 Digit Numbers to Equivalent Word Format (C-Code)
Works only upto 3 digit number [crayon-5a2bbac7ea5db330358184/]
C Code Samples
Check If Number is a Nasty Number (C-Code)
What is a nasty number? Well it is a number whose four different factors can be arranged in such a way that sum of two is equal to difference of other two. Take an example of nasty number 36. It Read more…
C Code Samples
Fastest Way of Multiplying a Number With 9
Note : Just for Knowledge and avoid using it. [crayon-5a2bbac7eae2f477724899/]
C Code Samples
Bubble Sorting In C (C-Code)
Note: Should not be used to for sorting large data. #include < stdio.h > #include < conio.h > #define size 20 // size of array void main() { int i, j, temp, elements[size], n; clrscr(); printf("Enter the Read more…
C Code Samples
Find Armstrong Numbers Upto 500 (C code)
Which are armstrong numbers? Numbers whose sum of cube of digits is equal to the number itself. e.g. if we take 153 than 13 =1 53=125 33=27 and sum of all of them is 1+125+27=153 so 153 is a armstrong Read more…
How To
Get Free Remote Desktop (RDP) Trick
UPDATE: Bluehost Has started charging for their cloud. So below trick may not work now. Note : linux only. First of all What is Remote Desktop (RDP). It is a computer somewhere else (most of time have very fast internet) Read more…
How To
Vesta CP unable to receive emails Fix
After installation of vesta control panel in VPS we found that we were able to send emails from webmail client but were not able to receive emails. We dug into it and found that it was an exim (mail server) Read more…
Regex
Matching Sets of Characters (RegEx)
Matching One of Several Characters As you have learned previously, . matches any one character (as does any literal character). But what if there was a file (containing Canadian sales data) named ca1.xls as well with na1.xls and sa1.xls, and you only wanted Read more…