#define DCHAR char*
typedef char* TCHAR;
if using these following variables will be declared like
DCHAR ch1, ch2;
TCHAR ch3, ch4;
then what will be types of ch1, ch2, ch3 and ch4?
Answer Posted / sunil v r
char *
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Do you know pointer in c?
What is ctrl c called?
Explain 'far' and 'near' pointers in c.
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
Which one would you prefer - a macro or a function?
Is c high or low level?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What is the advantage of using #define to declare a constant?
Where are some collections of useful code fragments and examples?
How do you convert strings to numbers in C?
What does a pointer variable always consist of?
What's the difference between constant char *p and char * constant p?
Why clrscr is used in c?
What is wrong with this program statement?