What are the uses of pre-processor directives?
Answers were Sorted based on User's Feedback
Answer / raghav_jk
Preprocessor Directive are
#include
#if
#else
#define
#ifdef
#ifndef
#endif
the command starts with # are called preprocessor directives
Uses
File Inclussion
Conditional Compilation
Macro Expansion
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / vl
The pre processor directives are the code line which are
replaced by the actuall value (header file and Macro
replacements) before compiler start the syntax checks.
| Is This Answer Correct ? | 9 Yes | 2 No |
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
0 Answers College School Exams Tests,
What is ambagious result in C? explain with an example.
What are types of structure?
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)
Write a program that his output * *** *****
i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What is dynamic memory allocation?
where do we use volatile keyword?
What is pointers in c?
Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage