71. What are the two forms of #include directive?Ans:1.#include”filename”2.#includethe first form is used to search the directory that contains the source file.If the search fails in the home directory it searches the implementation defined locations.In the second form ,the preprocessor searches the file only in the implementation defined locations.72. How would you use the functions randomize() and random()?Ans:Randomize() initiates random number generation with a random value.Random() generates random number between 0 and n-1;73. What do the functions atoi(), itoa() and gcvt() do?Ans:atoi() is a macro that converts integer to character.itoa() It converts an integer to stringgcvt() It converts a floating point number to string74. How would you use the functions fseek(), freed(), fwrite()...
Showing posts with label C Interview Questions With Ans Part8. Show all posts
Showing posts with label C Interview Questions With Ans Part8. Show all posts
Friday, 29 July 2011
Popular Posts
-
Differences between DLL and EXE? Can an assembly have EXE? Can a DLL be changed to an EXE? Compare & contrast rich client (smart clients...
-
Part I of this tutorial covers basic concept of multithreading. If you have never used multithreading in your application and wish to know...
-
1) Explain in detail about JDBC and its general features? JDBC defines the connectivity pattern between the client and his route to databa...
-
Visual C++ Debugging: How to manage memory leaks? Q: What is a memory leak? A: The failure to properly deallocate memory that was previously...
-
1) Explain about C#? C # is also known as c sharp. It is a programming language introduced by Microsoft. C# contains features similar to Ja...
-
What makes J2EE suitable for distributed multitiered Applications? - The J2EE platform uses a multitiered distributed application model. Ap...
-
Que: What is the difference between GetMessage and PeekMessage ? Ans: GetMessage function waits for a message to be placed in the queu...
-
Document/View Architecture Tutorial If you are working on VC++ then it is difficult to resist using MFC in your applications. MFC classes a...
-
Windows Data Types The data types supported by Windows are used to define function return values, function and message parameters, and s...
-
These are some of the most common questions which you will have to face. These questions will be there no matter what job you step into. ...