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


Please Help Members By Posting Answers For Below Questions

how to capitalise first letter of each word in a given string?

1436


what is the format specifier for printing a pointer value?

617


What is a volatile keyword in c?

647


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...

1495


How many types of errors are there in c language? Explain

577






What is getch() function?

656


Differentiate between the = symbol and == symbol?

723


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1895


What is the use of linkage in c language?

620


Write a program to check prime number in c programming?

606


What is null pointer in c?

601


All technical questions

1516


What's the right way to use errno?

628


What is memcpy() function?

626


What is the difference between the = symbol and == symbol?

631