Identify the operators that is not used with pointer
a. &&
b. #
c. *
d. >>
Answer Posted / senthil
ANS. b. #
# is an operator used to convert a parameter to string
# should always be followed by a formal parameter (in below example parameter x)
Ex:
#define SAM(x) #x
printf(SAM(Hello)); // prints Hello
In other cases
char a = 0x10, b;
char *p = &b;
a. a&&*p is valid
b. *p is valid
c. a>>*p is valid
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is actual argument?
What are the differences between Structures and Arrays?
What is meant by gets in c?
what are the advantages of a macro over a function?
What is multidimensional arrays
which type of aspect you want from the student.
What do you mean by keywords in c?
What is function in c with example?
Can a local variable be volatile in c?
Is c is a high level language?
What is %s and %d in c?
Why is c platform dependent?
What is meant by preprocessor in c?
How to Throw some light on the splay trees?
How can I manipulate strings of multibyte characters?