Identify the operators that is not used with pointer
a. &&
b. #
c. *
d. >>
Answer Posted / 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 View All Answers
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What are near, far and huge pointers?
write a program to display all prime numbers
How can I implement sets or arrays of bits?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
What is the use of bitwise operator?
What are conditional operators in C?
What is the purpose of realloc()?
What is the ANSI C Standard?
What is the process to create increment and decrement stamen in c?
What are identifiers and keywords in c?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What is main () in c language?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays