>
GATE CS
>
Digital Electronics
List of top Digital Electronics Questions asked in GATE CS
int main () {
double a [2]={20.0.25.0},
*
p,
*
q,
p=a;
q=p+1
printf (%d, %d, (int) (q-p))
int(
*
-q-
*
p);
GATE CS
Digital Electronics
Programmable Logic Array
int g(int p)
{
printf("%d", p);
return p;
}
int h(int q)
{
printf("%d", q);
return q;
}
void f(int x, int y)
{
g(x);
h(y);
}
int main ()
f(g(10), h(20));
}
What is the o/p printed ? (parameters all evaluated from left to right)
GATE CS
Digital Electronics
Programmable Logic Array