#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

Why doesnt this code work?

607


Can you please explain the difference between strcpy() and memcpy() function?

588


How many bytes are occupied by near, far and huge pointers (dos)?

656


Explain enumerated types in c language?

594


Does free set pointer to null?

545






If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3234


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

752


What is the ANSI C Standard?

766


What is main return c?

505


Is there sort function in c?

566


What is graph in c?

574


When do we get logical errors?

625


Explain what is the use of a semicolon (;) at the end of every program statement?

716


What are the types of arrays in c?

612


If null and 0 are equivalent as null pointer constants, which should I use?

567