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 |
What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int);
How is a pointer variable declared?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
mplementation of stack using any programing language
Without Computer networks, Computers will be half the use. Comment.
do you think its fraud or original company?
void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }
Find the largest number from the given 2 numbers without using any loops and the conditional operator.
What are 'near' and 'far' pointers?
Why is it important to memset a variable, immediately after allocating memory to it ?
write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
provide an example of the Group by clause, when would you use this clause