GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  HCL  >  C
Go To First  |  Previous Question  |  
 C  |  Question 2 of 2    Print  
what is the use of double pound sign (##) and give any example source?

  
Total Answers and Comments: 1 Last Update: May 19, 2006     Asked by: karthick babu 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Dileep P
 

          ## is used for concatenation of two strings

eg:#define a##b ab

int var12=100;

printf("%d",var##12);

output:100



Above answer was rated as good by the following members:
ashok54
May 19, 2006 09:10:42   #1  
Dileep P        

RE: what is the use of double pound sign (##) and give...

## is used for concatenation of two strings

eg:#define a##b ab

int var12 100;

printf( d var##12);

output:100


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

These are the questions usually repeated for C written Test.  You can alos use these questions to brushup your skills.Instructions:1.      Please ignore any case-sensitive 
Latest Answer : Q4.main(){  int i = 0xff ;  printf("n%d", i

Latest Answer :           ## is used for concatenation of two stringseg:#define a##b abint var12=100;printf("%d",var##12);output:100 ...
Read Answers (1) | Asked by : karthick babu


 Sponsored Links

 
Related Articles

Do Double Standards Still Exist?

Do Double Standards Still Exist We’ ve all experienced double standards at different times of our lives What woman for example hasn’ t become upset that assertive men enjoy the reputation of being go getters while assertive women are considered domineering And almost every
 

ASP.NET 2.0 Training : Data Source Object Model

ASP NET 2 0 Training Data Source Object Model In this tutorial you will learn about Data Source Object Model in ASP NET 2 0 the Rationale of DataSource components Data Source Control Internals Tabular DataSource Controls Hierarchical Data Source Controls The SqlDataSource Control Usage and Data Sour
 

What is Data Source

Data Source as the name implies provides data via data site.  Data site in turn stores an organization s database data files including  non-automated data.  Companies implement a data warehouse because they want a repository of all enterprise related data as well as a ma
 

Related Categories
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape