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 to capitalise first letter of each word in a given string?
what is the format specifier for printing a pointer value?
What is a volatile keyword in c?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
How many types of errors are there in c language? Explain
What is getch() function?
Differentiate between the = symbol and == symbol?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
What is the use of linkage in c language?
Write a program to check prime number in c programming?
What is null pointer in c?
All technical questions
What's the right way to use errno?
What is memcpy() function?
What is the difference between the = symbol and == symbol?