Introduction to Programing Language Gate 2015 Problem Solution

Exploring Programing Language Gate 2015 Problem Solution reveals several interesting facts. Consider the following C program #include stdio.h int main() { static int a[] = {10, 20, 30, 40, 50}; static int *p[] = {a, a+3, a+4, a+1, ...

Programing Language Gate 2015 Problem Solution Comprehensive Overview

Consider the following pseudo code, where and are positive integers. begin q := 0 r := x while r ≥ y do begin r := r - y q := q + 1 ... Consider the following function written in the C programming langauge : void foo(char *a) { if (*a && *a ... What is the output of the following C code? Assume that the address of x is 2000 (in decimal) and an integer requires four ...

Consider the following C program. # include stdio.h void mystery (int *ptra, int *ptrb) { int *temp; temp = ptrb; ptrb =ptra; ptra = temp; } ...

Summary & Highlights for Programing Language Gate 2015 Problem Solution

  • Consider the following C program: # include stdio.h int main( ) { int i, j, k = 0; j = 2 * 3 / 4 + 2.0 / 5 + 8 / 5; k -= --j; for (i = 0; i lessThan ...
  • The output of the following C program is_____________. void f1 ( int a, int b) { int c; c = a; a = b; b = c; } void f2 ( int * a, int * b) { int ...
  • include stdio.h int f1(void); int f2(void); int f3(void); int x=10; int main() { int x=1; x += f1() + f2 () + f3() + f2(); printf("%d", x); return 0; } ...
  • Consider the following C code segment. int a, b, c = 0; void prtFun(void); main() { static int a = 1; /* Line 1 */ prtFun(); a += 1; ...
  • GATE 2015

Stay tuned for more updates related to Programing Language Gate 2015 Problem Solution.

Programing Language Gate 2015 Problem Solution.pdf

Size: 12.84 MB · Format: PDF · Secure Download

Download PDF Read Online

Related Documents