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 |
Why can't we initialise member variable of a strucutre
difference between loading and linking
what is real time system?what is the differance between hard and soft real time systems
How does placing some code lines between the comment symbol help in debugging the code?
difference of two no's with out using - operator
What is null pointer constant?
Is it possible to execute code even after the program exits the main() function?
What is double pointer in c?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.
what is diff b/w huge & far & near pointer??
What is difference between constant pointer and constant variable?