1. >Digital Electronics
Found 53  QuestionsSET DEFAULT
Selected Filters
    Digital Electronics
Exams
Subjects
Topics

List of top Digital Electronics Questions

The content of the registers are \( R_1 = 25H \), \( R_2 = 30H \), and \( R_3 = 40H \). The following machine instructions are executed. 

After execution, the content of registers \( R_1 \), \( R_2 \), \( R_3 \) are

  • GATE EC - 2021
  • GATE EC
  • Digital Electronics
  • Shift-registers
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
  • Prev
  • 1
  • 2
  • 3
  • Next