Take 4 numbers.The smallest number has to be found out.Then divide each number by that numbers which are less than that smallest number. e.g.5,15,75,20 smallest-5 so divide each numbers by 1,2,3,4,5. The GCD will be that number which divides all the number.(here 5) Source: CoolInterview.com
1. First find out factors for the smallest number. 2. Which factors of smallest number gives reminder zero when divisible each factor with each number. 3. Take the common factors from four numbers and multiply them 4.Then you get Gcd.
What is the code to find our age,for example if my date of birth is 4/12/1986 and today date is 16/11/2008 answer should give our year,month,no of days
If we want that any wildcard characters in the command line argument should be approxiemately expanded , are we required to make any special provision?if yes, which?
int a=3, b = 5; printf(&a["Ya!Hello! how is this? %s "], &b["junk/super"]); printf(&a["WHAT%c%c%c %c%c %c ! "], 1["this"], 2["beauty"],0["tool"],0["is"],3["sensitive"],4["CCCCCC"]);