![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to replace any char with newline char. | mightysam | Shell Programming and Scripting | 5 | 09-18-2008 05:15 PM |
| int open(const char *pathname, int flags, mode_t mode) doubt... | csnmgeek | UNIX for Dummies Questions & Answers | 2 | 11-15-2007 10:41 AM |
| char c = 882 | useless79 | High Level Programming | 1 | 07-30-2007 02:16 AM |
| Reference to a const | arun.viswanath | High Level Programming | 1 | 09-05-2005 03:20 AM |
| diff 2 files; output diff's to 3rd file | blt123 | Shell Programming and Scripting | 2 | 05-28-2002 08:29 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
diff b/w char const in C/C++
hi,
what is the difference b/w char in C and C++.and give me the examples. Thanks... sarwan |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I'm not sure what you mean. Are you asking about variable declarations, like "const char c" vs "char const c", or character constants like 'L' ?
|
|
#3
|
|||
|
|||
|
It's an interview question that misguided IT managers use to impress/confuse prospective applicants. IMO anyway.
The answer is explained here: http://www.eskimo.com/~scs/C-faq/q8.9.html |
|
#4
|
|||
|
|||
|
[edit] I got it backwards! Huh. n/m
|
|||
| Google The UNIX and Linux Forums |