Recent questions tagged pointers

4 votes
1 answer
93
12 votes
2 answers
98
4 votes
4 answers
100
https://gateoverflow.in/?qa=blob&qa_blobid=14433986388826671915int main() { int a = 10; int *b = &a; scanf("%d",b); printf("%d",a+50); }What will be the Output of the fol...
0 votes
0 answers
104
1 votes
0 answers
106
1 votes
2 answers
108
Tell me the difference :&(arr+1) and &arr+1
0 votes
1 answer
109
is it dangling pointer ?int main(void) { int* p;printf("%d",*p); return 0;} https://ideone.com/IN77el
0 votes
1 answer
111
main(){unsigned int i= 255;char *p= &i;int j= *p;printf("%d\n", j);unsigned int k= *p;printf("%d", k);} Both the outputs are -1. I have even tried with - int i = 255(3rd ...
1 votes
1 answer
112
#include <stdio.h>main (){unsigned x = -10;int X = 20;if (X x) printf ("Hello");else{ printf ("%d",x); printf ("Jello"); }}
0 votes
0 answers
113
3 votes
2 answers
115
0 votes
1 answer
117
#include<stdio.h void fun(int *p,int *q) { p=q; *p=q; } int i=0,j=1; int main() { fun(&i,&j); printf("%d%d",i,j); }What will be the output of i and j in 16-bit C Compiler...