write a program that explain #define and # undef directive
Answer / ravi joshi
The following code snippet explain the use of #define and
#undef preprorcessor directives.
/* define our own value of NULL */
#ifdef NULL
#undef NULL /* if NULL is already defined, then
undefine it */
#define NULL ((void*)0) /* define our own version of NULL
#endif
Is This Answer Correct ? | 3 Yes | 2 No |
What has to put when we are inserting as assembly language code into the C code? or When we are inserting as assembly language code into the C code we have to insert one thing at the start and of the assembly language. What are they?
change to postfix a/(b+c*d-e)
All technical questions
Explain union.
define string ?
Can math operations be performed on a void pointer?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Explain what are the advantages and disadvantages of a heap?
What is the OOPs concept?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is function in c with example?
Which is better oop or procedural?