2012 TOP PLACEMENT PAPERS OF ALMOST ALL MNC COMPANIES FOR THE ENGINEERING PAPERS FOR THEIR BETTER CARRIER AND GUIDENCE AND INTERVIEW TIPS FOR FRESHERS THAT HELP IN JOB HUNTING FOR THE FRESHERS.

2012 Placement Papers of Top MNC Companies

SATYAM || BIRLASOFT || HCL || IBM || INFOSYS || LnT

Tuesday, May 20, 2008

C Questions #5

Which function should be used to free the memory allocated by calloc()?
How much maximum can you allocate in a single call to malloc()?
Can you dynamically allocate arrays in expanded memory?
What is object file? How can you access object file?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Can you write a function similar to printf()?
How can a called function determine the number of arguments that have been passed to it?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
How do you declare the following:
An array of three pointers to chars
An array of three char pointers
A pointer to array of three chars
A pointer to function which receives an int pointer and returns a float pointer
A pointer to a function which receives nothing and returns nothing
What do the functions atoi(), itoa() and gcvt() do?
Does there exist any other function which can be used to convert an integer or a float to a string?
C Important Questions

How would you use qsort() function to sort an array of structures?
How would you use qsort() function to sort the name stored in an array of pointers to string?
How would you use bsearch() function to search a name stored in array of pointers to string?
How would you use the functions sin(), pow(), sqrt()?
How would you use the functions memcpy(), memset(), memmove()?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
How would you obtain the current time and difference between two times?
How would you use the functions randomize() and random()?
How would you implement a substr() function that extracts a sub string from a given string?
What is the difference between the functions rand(), random(), srand() and randomize()?
What is the difference between the functions memmove() and memcpy()?
How do you print a string on the printer?
Can you use the function fprintf() to display the output on the screen?

No comments:

Search Latest placement papers

2008 LATEST PAPERS EMAILED DAILY

Enter your email address:

Delivered by FeedBurner