473,395 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

'?' charater in variable name

please help me in understanding the below declaration

char f_d_pd??(120??);

what this declaration means.
another thing can we use ? in variable name.
i have compile below code fragment with cc compiler on HP-UX

int main(){
char f_d_pd??(120??);
}

There is no compilation error for this.

Thanks in advance ..
Apr 26 '07 #1
5 1188
JosAH
11,448 Expert 8TB
please help me in understanding the below declaration

char f_d_pd??(120??);

what this declaration means.
another thing can we use ? in variable name.
i have compile below code fragment with cc compiler on HP-UX

int main(){
char f_d_pd??(120??);
}

There is no compilation error for this.

Thanks in advance ..
Those are trigraph sequences ??( and ??( represent [ and ] respectively.
The trigraphs were intrudoced for non-ANSI keyboards that lacked, e.g.
those square brackets. Here are all the available trigraphs:
Expand|Select|Wrap|Line Numbers
  1.             ??=     #         ??)     ]         ??!     |
  2.             ??(     [         ??'     ^         ??>     }
  3.             ??/     \         ??<     {         ??-     ~
kind regards,

Jos
Apr 26 '07 #2
xoinki
110 100+
i didnt know this..
thnx for d info
Apr 26 '07 #3
Thanks a lot
Apr 26 '07 #4
svlsr2000
181 Expert 100+
In one of the site i read about difference between c and c++. it has few digraph sequence, i tried google to find more digraph sequnce( if they were any more :) )
but i couldn't find. can any one tell is there any other digraph sequences and if any what are they.
Which are the compilers which support them?
Apr 26 '07 #5
svlsr2000
181 Expert 100+
In one of the site i read about difference between c and c++. it has few digraph sequence, i tried google to find more digraph sequnce( if they were any more :) )
but i couldn't find. can any one tell is there any other digraph sequences and if any what are they.
Which are the compilers which support them?
http://david.tribble.com/text/cdiffs.htm#C90-digraph
Apr 26 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Scott | last post by:
I have an XML Document in a format like: <Variable name="Bob">ABCDEFG</Variable> <Variable name="Steve">QWERTYUI</Variable> <Variable name="John">POIUYTR</Variable> <Variable...
4
by: Frederik Sørensen | last post by:
I include a xslt stylesheet with variables for all the error messages in my system. <xsl:variable name="Banner_error_1"> errormessage 1 for banner </xsl:variable> <xsl:variable...
166
by: Graham | last post by:
This has to do with class variables and instances variables. Given the following: <code> class _class: var = 0 #rest of the class
7
by: MeganTSU | last post by:
Hey yall! I am trying to get this program finished for class.... It says that you are suppposed to write a program that will display a check formatted out put (the output looks like a check). I got...
7
by: Kirt | last post by:
i have walked a directory and have written the foll xml document. one of the folder had "&" character so i replaced it by "&amp;" #------------------test1.xml <Directory> <dirname>C:\Documents and...
2
by: atlkhan | last post by:
Hi I am trying to pass a string variable to a function which takes character type parameters like function (char fname) //defination of function but i am calling it like function(...
2
reginaldmerritt
by: reginaldmerritt | last post by:
I'm opening a report via a query. I want the report to only show the first charater in the Forename filed. I've tried lots of diffrent ways but with no success. I've been using the code Left...
1
by: kalpu123 | last post by:
sql query to get a fixed length or number of charater
1
by: ritaggalande | last post by:
how to find ascii value of charater using c#.net
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.