English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

C questions. Pleas esend me this as early as possible

Regards

Varun

2006-09-25 05:32:33 · 5 answers · asked by varun m. v 2 in Computers & Internet Programming & Design

5 answers

in c,& is used as a 'address of' operator,hence cannot be used to declare a character ,string and to declare u can use a pointer.

2006-09-25 05:44:14 · answer #1 · answered by arpit k 2 · 1 0

& symbol is a special symbol. You can give as a value for a string or a character. But any variable declartion should not start with symbols other than _(underscore). Usually & is used both as reference operator as well as "address operator". So it cant be used. Hope u understoold this.

2006-09-27 06:14:16 · answer #2 · answered by Sudha P 2 · 0 0

string in C is an array.
the symbol & can be represented as an character
char a='&';

a string example
char s[]="c&language";

2006-09-25 07:44:35 · answer #3 · answered by iyiogrenci 6 · 0 0

& is a special charecter or symbol like $ # used as shortcuts

2006-09-25 05:36:42 · answer #4 · answered by Anonymous · 0 0

& is address of operator in C

2006-09-25 21:31:44 · answer #5 · answered by bingo! 2 · 0 0

fedest.com, questions and answers