9. 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 …
Interview Questions and Answers
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
- 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 …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Bits and Bytes Interview Questions and Answers For Freshers Part-2
by Sby S5. What is meant by high-order and low-order bytes? We generally write numbers from left to right, with the most significant digit first. To understand what is meant by the …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Bits and Bytes Interview Questions and Answers For Freshers Part-1
by Sby S1. What is the most efficient way to store flag values? A flag is a value used to make a decision between two or more options in the execution of …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Basics Interview Questions and Answers For Freshers Part-3
by Sby S8. What is the difference between goto and long jmp( ) and setjmp()? A goto statement implements a local jump of program execution, and the longjmp() and setjmp() functions implement …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Basics Interview Questions and Answers For Freshers Part-2
by Sby S5. Other than in a for statement, when is the comma operator used? The comma operator is commonly used to separate variable declarations, function arguments, and expressions, as well as …
- C ProgrammingInterview Questions and AnswersTechnical Interview Questions and Answers
C Language Basics Interview Questions and Answers For Freshers Part-1
by Sby S1. What is a local block? A local block is any portion of a C program that is enclosed by the left brace ({) and the right brace (}). A …
- Interview Questions and AnswersJQueryTechnical Interview Questions and Answers
Jquery Interview questions and Answers For Developers Part-8
by Sby S71. How to use migrate jQuery plugin? with release of 1.9 version of jQuery, many deprecated methods were discarded and they are no longer available. But there are many sites …
- Interview Questions and AnswersJQueryTechnical Interview Questions and Answers
Jquery Interview questions and Answers For Developers Part-7
by Sby S61. How to write browser specific code using jQuery? Using jQuery.browser property, we can write browser specific code. This property contains flags for the useragent, read from navigator.userAgent.