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 |
a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'
what is object oriental programing?
What are the features of the c language?
What is the role of this pointer?
who did come first hen or agg
What is the use of in c?
what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }
which do you prefer C or Pascal?
how to write a program which adds two numbers without using semicolon in c
Hai why 'c' is the middle language
where can function pointers be used?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...