9. How do you list a file’s date and time? A file’s date and time are stored in the find_t structure returned from the _dos_findfirst() and_dos_findnext() functions. The date and …
Freshers Interview Questions
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Data Files Interview Questions and Answers For Freshers Part-2
by Sby S5. Can stdout be forced to print somewhere other than the screen? Although the stdout standard stream defaults to the screen, you can force it to print to another device …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Data Files Interview Questions and Answers For Freshers Part-1
by Sby S1. If errno contains a nonzero number, is there an error? The global variable errno is used by many standard C library functions to pass back to your program an …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Array Interview Questions and Answers For Freshers Part-4
by Sby S7. Why can’t constant values be used to define an array’s initial size? There are times when constant values can be used and there are times when they can’t. A …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Array Interview Questions and Answers For Freshers Part-3
by Sby S5. Can you assign a different address to an array tag? No, although in one common special case, it looks as if you can. An array tag is not something …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Array Interview Questions and Answers For Freshers Part-2
by Sby S3. Can the sizeof operator be used to tell the size of an array passed to a function? No. There’s no way to tell, at runtime, how many elements are …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Array Interview Questions and Answers For Freshers Part-1
by Sby S1. Do array subscripts always start with zero? Yes. If you have an array a[MAX] (in which MAX is some value known at compile time), the first element is a[0], …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Preprocessors Interview Questions and Answers For Freshers Part-3
by Sby S9. Is it better to use a macro or a function? The answer depends on the situation you are writing code for. Macros have the distinct advantage of being more …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Preprocessors Interview Questions and Answers For Freshers Part-2
by Sby S5. What is the benefit of using #define to declare a constant? Using the #define method of declaring a constant enables you to declare a constant in one place and …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Preprocessors Interview Questions and Answers For Freshers Part-1
by Sby S1. What is a macro, and how do you use it? A macro is a preprocessor directive that provides a mechanism for token replacement in your source code. Macros are …