C Code Samples
Fastest Way of Multiplying a Number With 9
Note : Just for Knowledge and avoid using it. [crayon-5a2bba93d82dc144955708/]
Note : Just for Knowledge and avoid using it. [crayon-5a2bba93d82dc144955708/]
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 number of elements\t"); // Enter the number of total elements Read more…
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 number. Code in c : #include < stdio.h > #include Read more…