what is use#in c

Answers were Sorted based on User's Feedback



what is use#in c..

Answer / rusmguys

# is preprocessor which tell compiler that what header
file we using in our program.
for example:
#include<stdio.h>
void main()
in the above when compiler check program it start execution
of program from main and will tell that uor header file
is "standard input output header file"

Is This Answer Correct ?    8 Yes 0 No

what is use#in c..

Answer / saurabh chakrabarty

# is used in c to write preprocessor statements (i.e. macros)

these statements are called preprocessor statements as these
statements are processed prior to the compilation of the
rest of the code by the compiler

Is This Answer Correct ?    1 Yes 0 No

what is use#in c..

Answer / sujith

Another use is for token pasting if used as ##

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }

9 Answers   CTS, Wipro,


Define function pointers?

1 Answers  


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

8 Answers   Aspire,


What is LINKED LIST? How can you access the last element in a linked list?

0 Answers   ADP,


Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!

1 Answers  






What are the different types of errors?

0 Answers  


What is hash table in c?

0 Answers  


Explain modulus operator.

0 Answers  


write a program to arrange the contents of a 1D array in ascending order

4 Answers  


Can i use Two or More Main Funtion in any C program.?

4 Answers  


write a program that accepts 3 numbers from the user. dispaly the values in a descending order.

3 Answers  


How can you invoke another program from within a C program?

0 Answers  


Categories