main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}
Answers were Sorted based on User's Feedback
Answer / surenda pal singh chouhan
H
Explanation:
* 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.
| Is This Answer Correct ? | 23 Yes | 1 No |
Answer / vignesh1988i
the output will be 'H'...... this is because... first the
variables with pointers as:
*
&
*
p
so it woill process as givwn above in stack
| Is This Answer Correct ? | 10 Yes | 2 No |
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
write a c program to find reminder and quotient if one number is divided by other.to code this program don't use more than 2 variables
#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?
struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));
how to generate the length of a string without using len funtion?
How the processor registers can be used in C ?
What is 2 d array in c?
find largest element in array w/o using sorting techniques.
Explain what header files do I need in order to define the standard library functions I use?
what is the use of pointers
write a program to interchange the value between two variable without using loop
What is sizeof return in c?