recategorized by
234 views

1 Answer

Answer:
Position:
Show:

Related questions

1 1 vote
2 2 answers
374
374 views
Shubham Sharma 2 asked Sep 9, 2025
374 views
#include<stdio.h void main() { int arr[]={1, 2, 3, 4, 5}; int *p=arr; printf("%d", *p++); printf("%d", *(p+1)); }Find the output of the above code?$1,2$$1,3$$2,3$$1,4$
0 0 votes
2 2 answers
386
386 views
Shubham Sharma 2 asked Sep 9, 2025
386 views
Consider the following code:#include<stdio.h void f1(char *x, char *y) { char *t1; t 1 = x; x= y; y = t 1;} void f2(char x, char y) { char *t1 ; t1 = *x; *x = *y; *y = ...
0 0 votes
1 1 answer
335
335 views
Shubham Sharma 2 asked Sep 9, 2025
335 views
Consider following C program :#include<stdio.h int main() { int x[]={2,4,6,8,10}; int a, b=0, * y = x+4; for(a = 0; a<5; a++) { b=b+(*y -a) - *(y -a); } printf("%d\n", b)...
0 0 votes
1 1 answer
253
253 views
Shubham Sharma 2 asked Sep 9, 2025
253 views
What will be the output of the following $\text{C}$ code?#include<stdio.h void main() { int arr[5]={10,20,30,40,50}; int *p = (int*) (&arr+1); printf("\%d\%d", *(arr + 1)...