Identify the operators that is not used with pointer

a. &&

b. #

c. *

d. >>

Answers were Sorted based on User's Feedback



Identify the operators that is not used with pointer a. && b. # c. * d. >>..

Answer / bhargavi

'>>' operator

Is This Answer Correct ?    12 Yes 4 No

Identify the operators that is not used with pointer a. && b. # c. * d. >>..

Answer / 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

More C Interview Questions

Explain what is the difference between functions abs() and fabs()?

0 Answers  


Define Spanning-Tree Protocol (STP)

0 Answers  


what is data structure

5 Answers   Maveric, TCS,


What is static volatile in c?

0 Answers  


What is the use of sizeof () in c?

0 Answers  






Why isnt there a numbered, multi-level break statement to break out

0 Answers  


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

0 Answers  


What is merge sort in c?

0 Answers  


write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4

1 Answers  


how to find turn around time in operating system?

3 Answers  


What is getche() function?

0 Answers  


What is the purpose of void pointer?

0 Answers  


Categories