Identify the operators that is not used with pointer
a. &&
b. #
c. *
d. >>
Answers were Sorted based on User's Feedback
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 |
Explain what is the difference between functions abs() and fabs()?
Define Spanning-Tree Protocol (STP)
what is data structure
What is static volatile in c?
What is the use of sizeof () in c?
Why isnt there a numbered, multi-level break statement to break out
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What is merge sort in c?
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
how to find turn around time in operating system?
What is getche() function?
What is the purpose of void pointer?