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...

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 Posted / jessu srikanth

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of C instructions?

1315


Why c is known as a mother language?

1083


Explain modulus operator.

1057


List out few of the applications that make use of Multilinked Structures?

2192


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2447


What is a void pointer in c?

1108


Explain bitwise shift operators?

1249


Explain what does the function toupper() do?

1075


Explain the use of fflush() function?

1083


What would be an example of a structure analogous to structure c?

999


What is the difference between union and structure in c?

1178


How to Throw some light on the splay trees?

1064


how to capitalise first letter of each word in a given string?

1928


What do you know about the use of bit field?

1046


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1054