Introduction to Programming Language Gate 2011 Problem Solution
If you are looking for information about Programming Language Gate 2011 Problem Solution, you have come to the right place. Consider the following recursive C function that takes two arguments. unsigned int foo(unsigned int n, unsigned int r ...
Programming Language Gate 2011 Problem Solution Comprehensive Overview
Consider the following recursive C function that takes two arguments. unsigned int foo(unsigned int n, unsigned int r) { if (n ... What does the following fragment of C program print? char c[] = "GATE2011"; char *p = c; printf("%s", p + p[3] - p[1]); Consider the following C code segment. int a, b, c = 0; void prtFun(void); main() { static int a = 1; /* Line 1 */ prtFun(); a += 1; ...
Let A be a square matrix of size n x n. Consider the following program. What is the expected output? C = 100 for(i=0; i lessThan n; ...
Summary & Highlights for Programming Language Gate 2011 Problem Solution
- Consider the following C code segment. int a, b, c = 0; void prtFun(void); main() { static int a = 1; /* Line 1 */ prtFun(); a += 1; ...
- What will be the output of the following C program segment? char inChar = 'A'; switch ( inChar ) { case 'A' : printf ("Choice A \n"); ...
- The following function computes for positive integers and . int exp (int X, int Y) { int res =1, a = X, b = Y; while (b != 0) { if (b % 2 ...
- Consider the following C program. # include stdio.h void mystery (int *ptra, int *ptrb) { int *temp; temp = ptrb; ptrb =ptra; ptra = temp; } ...
- The value printed by the following program is ______. void f (int * p, int m) { m = m + 5; *p = *p + m; return; } void main () { int i=5, ...
We hope this detailed breakdown of Programming Language Gate 2011 Problem Solution was helpful.