13. How can I manipulate strings of multibyte characters? Say your program sometimes deals with English text (which fits comfortably into 8-bit chars with a bit to spare) and sometimes …
C Language Library Functions
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-8
by Sby S12. What are multibyte characters? Multibyte characters are another way to make internationalized programs easier to write. Specifically, they help support languages such as Chinese and Japanese that could never …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-7
by Sby S10. Why shouldn’t I start variable names with underscores? Identifier names beginning with two underscores or an underscore followed by a capital letter are reserved for use by the compiler …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-6
by Sby S9. What’s a signal? What do I use signals for? A signal is an exceptional condition that occurs during the execution of your program. It might be the result of …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-5
by Sby S7. What is a “locale”? A locale is a description of certain conventions your program might be expected to follow under certain circumstances. It’s mostly helpful to internationalize your program. …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-4
by Sby S6. How do I determine whether a character is numeric, alphabetic, and so on? The header file ctype.h defines various functions for determining what class a character belongs to. These …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-3
by Sby S4. What is the difference between a free-standing and a hosted environment? Not all C programmers write database management systems and word processors. Some write code for embedded systems, such …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-2
by Sby S3. How can I write functions that take a variable number of arguments? Use <stdarg.h>. This defines some macros that let your program deal with variable numbers of arguments. There’s …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Library Functions Interview Questions and Answers For Freshers Part-1
by Sby S1. Why should I use standard library functions instead of writing my own? The standard library functions have three advantages: they work, they’re efficient, and they’re portable. They work: Your …