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 / swastisundar bose

46.
0000000000000001
47.The progrm will compile,because it is syntactically
correct.
51.
#include<stdio.h>
int fact(int n){
if(n==0||n==1)
return(1);
else
return(n*fact(n-1));
}
void main(){
int a,b;
printf("Enter number:-");
scanf("%d",&a);
b=fact(a);
printf("\nThe factorial value of the number:- %d",b);
}

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain 'far' and 'near' pointers in c.

1148


Why is c called "mother" language?

1300


What are local static variables? How can you use them?

1154


What is data structure in c language?

1118


Combinations of fibanocci prime series

1621


What is the difference between typedef struct and struct?

1114


Can a void pointer point to a function?

1031


Hai what is the different types of versions and their differences

1944


Wt are the Buses in C Language

3222


What is zero based addressing?

1182


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1286


Can a local variable be volatile in c?

1001


Explain what is page thrashing?

1105


What is static and volatile in c?

1227


What is the difference between single charater constant and string constant?

1097