Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

jessu srikanth


{ City } hyd
< Country > india
* Profession * student
User No # 11168
Total Questions Posted # 0
Total Answers Posted # 4

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 24
Users Marked my Answers as Wrong # 17
Questions / { jessu srikanth }
Questions Answers Category Views Company eMail




Answers / { jessu srikanth }

Question { Infosys, 17687 }

who did come first hen or agg


Answer

egg, why because according to alphabetical order e comes
first always.

Is This Answer Correct ?    12 Yes 3 No

Question { 6957 }

44.what is the difference between strcpy() and memcpy()
function?
45.what is output of the following statetment?
46.Printf(“%x”, -1<<4); ?
47.will the program compile?
int i;
scanf(“%d”,i);
printf(“%d”,i);
48.write a string copy function routine?
49.swap two integer variables without using a third
temporary variable?
50.how do you redirect stdout value from a program to a file?
51.write a program that finds the factorial of a number
using recursion?


Answer

51.factorial of a number using recursion

long factorial(long n){
return (n==0 || n==1)?1:n*n-1;
}

Is This Answer Correct ?    0 Yes 2 No


Question { 6957 }

44.what is the difference between strcpy() and memcpy()
function?
45.what is output of the following statetment?
46.Printf(“%x”, -1<<4); ?
47.will the program compile?
int i;
scanf(“%d”,i);
printf(“%d”,i);
48.write a string copy function routine?
49.swap two integer variables without using a third
temporary variable?
50.how do you redirect stdout value from a program to a file?
51.write a program that finds the factorial of a number
using recursion?


Answer

sorry... I made a mistake in the previous 51.answer
i am very sorry...

the solution for recursion is...

long factorial(long n){
return (n==0 || n==1)?1:n * factorial(n-1);
}

Is This Answer Correct ?    3 Yes 0 No

Question { Motorola, 44518 }

Function to find the given number is a power of 2 or not?


Answer

int isPowerOf2(unsigned int n)
{
float r=n;
while(r>1) r/=2.0;
return (r==1)?1:0; /* 1-> TRUE; 0-> FALSE*/
}

Is This Answer Correct ?    9 Yes 12 No