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
Tell us something about keyword 'auto'.
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Which is the memory area not included in C program? give the reason
Is c programming hard?
What is the best way to store flag values in a program?
Tell me what is the purpose of 'register' keyword in c language?
Why c is called a middle level language?
What is the right way to use errno?
Write a code on reverse string and its complexity.
What is FIFO?
explain what is a newline escape sequence?
What is static and auto variables in c?
Do you know what are the properties of union in c?
what are the advantages of a macro over a function?
What are the types of data structures in c?