#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


Please Help Members By Posting Answers For Below Questions

Do you know pointer in c?

593


What is ctrl c called?

598


Explain 'far' and 'near' pointers in c.

706


.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; }

2000


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...

9658






Which one would you prefer - a macro or a function?

604


Is c high or low level?

585


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

588


What is the advantage of using #define to declare a constant?

623


Where are some collections of useful code fragments and examples?

716


How do you convert strings to numbers in C?

710


What does a pointer variable always consist of?

665


What's the difference between constant char *p and char * constant p?

659


Why clrscr is used in c?

587


What is wrong with this program statement?

610