What is file in c preprocessor?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation

10 Answers   IBM,


main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } Find the Outputs?

9 Answers   BTBP, CitiGroup,


How to create struct variables?

0 Answers  


What are different types of variables in c?

0 Answers  


How arrays can be passed to a user defined function

0 Answers  






what is the differance between pass by reference and pass by value.

7 Answers   Infosys,


What does the && operator do in a program code?

0 Answers  


How many bytes are occupied by near, far and huge pointers (dos)?

0 Answers  


What is the function of volatile in c language?

0 Answers  


long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

18 Answers   Acropolis, HCL, Intel, TCS,


how to set Nth bit of variable by using MACRO

3 Answers   HCL,


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

0 Answers   Infosys,


Categories