What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?



What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?..

Answer / Deepika Kapoor

"typedef allows you to give a new name to an existing data type, making it easier to read and write your code.nnFor example, you can create a new name for 'int' as follows:n```cppntypedef int MyInt;nMyInt my_variable = 10;n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Why #include is used?

1 Answers  


What is the output of printf("%d")?

58 Answers   CTS, HCL, Infosys, TCS, Winit, Wipro,


What are keywords in c++?

1 Answers  


What is abstraction in c++ with example?

1 Answers  


What happens if an exception is throws from an object's constructor and from object's destructor?

3 Answers   TCS,


Write a program to find the Factorial of a number

1 Answers  


Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.

16 Answers   BNB, FDS, Goldman Sachs, Nagarro,


What is Memory Alignment?

2 Answers   TCS,


What is #include cmath?

1 Answers  


How can we check whether the contents of two structure variables are same or not?

1 Answers  


Which programming language is best?

1 Answers  


What is the output of the following program? Why?

1 Answers  


Categories