The process in which a function calls itself directly or indirectly is called Recursion and the corresponding function is called a Recursive function. Using Recursion, certain… Read More
Tag Archives: GATE-CS-C-Language
In C, iscntrl() is a predefined function used for string and character handling. ctype is the header file required for character functions. A control character… Read More
Following questions have been asked in GATE CS 2014 exam.1) Consider the following program in C language: C #include <stdio.h> main() { int i; int… Read More
Following questions have been asked in GATE 2012 exam.1. What will be the output of the following C program segment? C char inchar = 'A';… Read More
Following questions have been asked in GATE CS 2011 exam. 1) What does the following fragment of C-program print? char c[] = "GATE2011"; char *p… Read More
Following questions have been asked in GATE CS 2010 exam. 1. What does the following program print? #include<stdio.h> void f(int *p, int *q) { p… Read More
Following questions have been asked in GATE CS 2006 exam. 1. Consider the following C-program fragment in which i, j and n are integer variables.… Read More
Following questions have been asked in GATE CS 2008 exam. 1. What is printed by the following C program? int f(int x, int *py, int… Read More
Following questions have been asked in GATE CS exam. 1. In the C language (GATE CS 2002) a) At most one activation record exists between… Read More
Following questions have been asked in GATE CS exam. 1.Assume the following C variable declaration int *A [10], B[10][10]; Of the following expressions I A[2]… Read More
Following questions have been asked in GATE CS exam. 1. Consider the following C program segment: char p[20]; char *s = "string"; int length =… Read More
Following questions have been asked in GATE CS exam. 1. Consider the following three C functions : [PI] int * g (void) { int x… Read More