Telegram Web
Forwarded from veera
Correct ans pls
Forwarded from Animesh Sinha
int a[2][3] = {1,2,3,4,5,6};
int (*ptr)[3] = a;

Here what is ptr?
Is it an array having 3 elements where each element is an pointer to integer variable?
Or is it an pointer pointing to an integer array having 3 elements?

Anyone please explain
Forwarded from Shubham
Can anyone? #TOC
Forwarded from Deleted Account
Forwarded from Shivangi
Forwarded from Disha
What will be the output of the following C code?

#include <stdio.h>
#define foo(x, y) x / y + x
int main()
{
int i = -6, j = 3;
printf("%d\n",foo(i + j, 3));
return 0;
}
a) Divided by zero exception
b) Compile time error
c) -8
d) -4
Forwarded from Saccha Sadhu
#probability
GATE-ECE
Forwarded from Disha
What will be the output of the following C code?

#include <stdio.h>
#define MIN 0
#if defined(MIN) + defined(MAX)
#define MAX 10
#endif
int main()
{
printf("%d %d\n", MAX, MIN);
return 0;
}
a) 10 0
b) Compile time error
c) Undefined behaviour
d) Somegarbagevalue 0
Forwarded from Deleted Account
Forwarded from Deleted Account
Plz xplain
2025/07/12 17:57:51
Back to Top
HTML Embed Code: