Pre Processor Interview Questions Pre Processor Interview Questions What is the use of preprocessor? Answer: C/C++ preprocessor provides the ability for the inclusion of header files,macro substitution, conditional compilation,and line control functionality. What do you mean by a macro, and how it works? Answer : Macro is a simplified function in c programming language witch can be substitute with corresponding replacement data at the time of pre-processing. Is it better
Q1) what is difference between JDK,JRE and JVM? JVM JVM is an acronym for Java Virtual Machine, it is an abstract machine which provides the runtime environment in which java bytecode can be executed. JVMs are available for many hardware and software platforms (so JVM is plateform dependent). JRE JRE stands for Java Runtime Environment. It is the implementation of JVM and physically exists. JDK JDK is an acronym for Java Development Kit. It physically exists. It contains JRE + development tools. more details... 2) How many types of memory areas are allocated by JVM? Many types: