R
Q. Determine Output
void main() { char *p; p="Hello"; printf("%c", *&*p); }
* is a dereference operator & is a reference operator. They can be applied any number of times provided it is meaningful. Here p points to the first character in the string "Hello". *p dereferences it and so its value is H. Again & references it to an address and * dereferences it to the value H.
You must be Logged in to update hint/solution
Q. C language was invented in which laboratories?
Q. What is the output of C Program?
Q. Forward declaration is absolutely necessary
Q. Range of float variable is.?
Q. Which of the following cannot be a variable name in C?
Q. What will be the output of the following C code?
Q. What is right way to Initialization array?
Discusssion
Login to discuss.