• recategorized by
401 views

2 Answers

Answer:
Position:
Show:

Related questions

0 0 votes
1 1 answer
349
349 views
Shubham Sharma 2 asked Sep 9, 2025
349 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
265
265 views
Shubham Sharma 2 asked Sep 9, 2025
265 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)...
0 0 votes
2 2 answers
394
394 views
Shubham Sharma 2 asked Sep 9, 2025
394 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
241
241 views
Shubham Sharma 2 asked Sep 9, 2025
241 views
Which of the following is correct way to declare a functional pointer in C?int *func (int, int);int (*func) (int, int);int (func*) (int, int);int *func* (int, int);