main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}
Answer / susie
Answer :
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.
Again & references it to an address and * dereferences it
to the value H.
Is This Answer Correct ? | 4 Yes | 1 No |
main() { char *p; int *q; long *r; p=q=r=0; p++; q++; r++; printf("%p...%p...%p",p,q,r); }
How can i find first 5 natural Numbers without using any loop in c language????????
given integer number,write a program that displays the number as follows: First line :all digits second line : all except the first digit . . . . Last line : the last digit
find A^B using Recursive function
Derive expression for converting RGB color parameters to HSV values
program to Reverse a linked list
12 Answers Aricent, Microsoft, Ness Technologies,
main() { printf("%d, %d", sizeof('c'), sizeof(100)); } a. 2, 2 b. 2, 100 c. 4, 100 d. 4, 4
18 Answers HCL, IBM, Infosys, LG Soft, Satyam,
write a program for area of circumference of shapes
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.
6 Answers Fusion Systems GmbH,
How to use power function under linux environment.eg : for(i=1;i<=n;i++){ pow(-1,i-1)} since it alerts undefined reference to 'pow'.
prog. to produce 1 2 3 4 5 6 7 8 9 10
code of a program in c language that ask a number and print its decremented and incremented number.. sample output: input number : 3 321123