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

ch1,ch3 and ch4 are char* types whiel ch2 is char type.
Please let me know if I am wrong.

Is This Answer Correct ?    22 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain why can’t constant values be used to define an array’s initial size?

869


Explain what header files do I need in order to define the standard library functions I use?

654


How can I send mail from within a c program?

590


Can we change the value of static variable in c?

569


What is pass by reference in functions?

332






Why is c so powerful?

694


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2234


What are the ways to a null pointer can use in c programming language?

598


Explain how do you determine the length of a string value that was stored in a variable?

679


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1379


What is wrong with this initialization?

598


Explain how are 16- and 32-bit numbers stored?

790


What is structure of c program?

614


Why do we need arrays in c?

594


Do you know null pointer?

623