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
How do you generate random numbers in C?
Is there a built-in function in C that can be used for sorting data?
Write the control statements in C language
How we can insert comments in a c program?
Why is c known as a mother language?
How can you check to see whether a symbol is defined?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Why c is called free form language?
Which is better between malloc and calloc?
Why is c called c?
How do we open a binary file in Read/Write mode in C?
What is memory leak in c?
write a program to create a sparse matrix using dynamic memory allocation.
What is structure data type in c?
is it possible to create your own header files?