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?

Answers were Sorted based on User's Feedback



44.what is the difference between strcpy() and memcpy() function? 45.what is output of the followi..

Answer / 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

44.what is the difference between strcpy() and memcpy() function? 45.what is output of the followi..

Answer / sachin patil

44. strcpy copy the string while memcpy copy the memory
contains of locations.

46.fffffff0

49. int a = 5;
int b = 10;
a = a+b;
b = a-b;
a = a-b;

Is This Answer Correct ?    2 Yes 0 No

44.what is the difference between strcpy() and memcpy() function? 45.what is output of the followi..

Answer / jessu srikanth

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

Post New Answer

More C Interview Questions

what is the advantage of function pointer

16 Answers   CMC, CS, Freshdesk, L&T, LG Soft, Matrix, TCS,


What does it mean when the linker says that _end is undefined?

0 Answers  


write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20

4 Answers  


Can you think of a logic behind the game minesweeper.

0 Answers  


If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.

12 Answers   Google,


Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 Answers   Mascot, TCS,


Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.

2 Answers   Drona Solutions, Infosys, Vodafone, Webyog,


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

1 Answers   Vector India,


my name is nani i completed my b-tech in hyd now i want go for interveiw but i dont know the process of software field interveiws plz help me anyone how many rouds there n what rounds plz plz plz help me n where i can get these details

2 Answers  


c programming of binary addition of two binary numbers

4 Answers  


What are the features of the c language?

0 Answers  


In a switch statement, explain what will happen if a break statement is omitted?

0 Answers  


Categories