pointer in c
Pointer in C Practice Questions: 1.What will be the output of the C program? #include<stdio.h> int main(){ int i = 3; int *j; j = &i; j++; printf("%d ",*j); return 0; } 2.What is the output of following program? # include <stdio.h> void fun(int x) { x = 30; } int main() { int y = 20; fun(y); printf("%d", y); return 0; } 3. What will be the output of the C program? #include<stdio.h> int main() { char *ptr = "Pointer-to-String", i; printf("%s", ++ptr); return 0; } 4.Output of following program? # include <stdio.h> void fun(int *ptr) { *ptr = 30; } int main() { int y = 20; fun(&y); printf("%d", y); return 0; } 5.What will be the output of the C program? #include<stdio.h> int main() { char *str = "His"; int i; for(i = 0; i < strlen(str); i++) printf("%s", str++); return 0; }...