#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 / ashish

ch1 and ch2 are the char * and ch2 and ch4 are char type

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

c program for searching a student details among 10 student details

1656


What is the best way to store flag values in a program?

581


How can you avoid including a header more than once?

566


Tell me what is the purpose of 'register' keyword in c language?

620


List the difference between a 'copy constructor' and a 'assignment operator' in C?

639






What is difference between array and structure in c?

582


What is the difference between fread and fwrite function?

640


What is an lvalue in c?

696


How do you define a string?

658


What is difference between arrays and pointers?

584


Can I initialize unions?

594


What is storage class?

655


What is the difference between fread buffer() and fwrite buffer()?

674


What is LINKED LIST? How can you access the last element in a linked list?

633


Can a variable be both constant and volatile?

562