#include <stdio.h>
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));
return 0;}Related Programming & Data Structures PYQs
Consider the following C program: ```c #include <stdio.h> int main(){ int a = 6; int b = 0; while(a < 10) { a = a / 12 +…
Consider the following C program: ```c #include <stdio.h> void fX(); int main(){ fX(); return 0;} void fX(){ char a; if((a…
An array [82, 101, 90, 11, 111, 75, 33, 131, 44, 93] is heapified. Which one of the following options represents the first three e…
Consider a binary min-heap containing 105 distinct elements. Let k be the index (in the underlying array) of the maximum element s…
Consider the following C function definition. ```c int f(int x, int y) { for (int i=0; i<y; i++) { x=x+x+y; } return x; …
Consider the following C program. Assume parameters to a function are evaluated from right to left. ```c #include <stdio.h> int g(…
Free account benefits
Turn practice into measurable progress
Public PYQs and reference pages stay free. Sign in when you want GATEverse to remember what you studied and guide what to practise next.