edited by
429 views
1 votes
1 votes

Please explain this.

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
stblue asked Oct 18, 2017
742 views
#include <stdio.h>int main(){ int a[] = {50, 60, 10, 30, 40, 20 }; int *b[] = {a+3, a+4, a, a+2, a+1, a+5 }; int c = b; c++; printf("%u, %u, %u\n", c-b, *...
0 votes
0 votes
1 answer
2
Desert_Warrior asked May 16, 2016
591 views
#include<stdio.h #include<stdlib.h int main() { char s[] = "Opendays2012"; int i = 0; while(*(s++)) i++; printf("%d",i); return 0; }(a) Segmentation Fault (b) Compile Err...
1 votes
1 votes
1 answer
3
Sandip Shaw asked Feb 25, 2016
2,501 views
#include<stdio.h>int main(){char *s = "Geeks Quiz";int n = 7;printf("%.*s", n, s);return 0;}