ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
what is use#in c
 Question Submitted By :: Rohit Dubey
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is use#in c
Answer
# 1
# 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 ?    1 Yes 0 No
Rusmguys
[No Company]
 
  Re: what is use#in c
Answer
# 2
Another use is for token pasting if used as ##
 
Is This Answer Correct ?    0 Yes 0 No
Sujith
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array? Qualcomm1
program to find the ASCII value of a number  5
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321  2
What is structure packing ? HP1
what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means.... TCS1
pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc() TCS1
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer) Wipro5
What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); } ADITI2
difference between semaphores and mutex?  1
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?  3
what is the stackpointer  2
Program to trim a given character from a string. NetApp1
how to convert binary to decimal and decimal to binary in C lanaguage  2
how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--); RMSI13
sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x? Subex1
write a program to find out number of on bits in a number? Huawei11
how to connect oracle in C/C++.  2
why TCS selected more student in the software field from all institution. TCS3
Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??  2
O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N ADP6
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com