main()
{
char *p;
int *q;
long *r;
p=q=r=0;
p++;
q++;
r++;
printf("%p...%p...%p",p,q,r);
}
Answer / susie
Answer :
0001...0002...0004
Explanation:
++ operator when applied to pointers increments address
according to their corresponding data-types.
Is This Answer Correct ? | 8 Yes | 3 No |
plz send me all data structure related programs
why java is platform independent?
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
main() { unsigned int i=65000; while(i++!=0); printf("%d",i); }
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
main() { char *p; printf("%d %d ",sizeof(*p),sizeof(p)); }
main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. Runtime error. Access violation. c. Compile error. Illegal syntax d. None of the above
print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!
How can u say that a given point is in a triangle? 1. with the co-ordinates of the 3 vertices specified. 2. with only the co-ordinates of the top vertex given.
Write a program using one dimensional array to assign values and then display it on the screen. Use the formula a[i]=i*10 to assign value to an element.
1 Answers Samar State University,
Link list in reverse order.