#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
Write a code on reverse string and its complexity.
Ow can I insert or delete a line (or record) in the middle of a file?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is gets() function?
What's the best way of making my program efficient?
Is javascript based on c?
What are valid operations on pointers?
What is the use of function in c?
Is that possible to store 32768 in an int data type variable?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
Why flag is used in c?
Describe how arrays can be passed to a user defined function
What is huge pointer in c?
What do you mean by dynamic memory allocation in c? What functions are used?
Explain how do you print only part of a string?