Skip to content

Paper II · Unit 3: Programming Languages and Computer Graphics

Programming in C

Programming in C is a topic inside Unit 3 (Programming Languages and Computer Graphics) of UGC NET Computer Science and Applications, Paper II (code 87). GateIQ has published 88 questions classified under this topic — 27.6% of everything recorded in this unit, and 87 of them carry a written solution.

What this topic covers

Tokens, Identifiers, Data Types, Sequence Control, Subprogram Control, Arrays, Structures, Union, String, Pointers, Functions, File Handling, Command Line Argumaents, Preprocessors

Syllabus wording above is the official heading for this topic; the question counts are GateIQ’s own classification of its published archive.

Try Programming in C PYQs free

Attempt the 5 most recent published questions on this topic right here, with the published answer and explanation after each check. No account is needed and nothing is saved. Practice tracking and analytics are part of UGC IQ.

0 of 5 checked
  1. 1Previous year question

    How will you free the memory allocated by the following program?

    #include <stdio.h>
    #include <stdlib.h>
    #define MAXROW 3
    #define MAXCOL 4
    int main ( )
    {
    int ** p, i, j;
    p= (int **) malloc (MAXROW * size of (int*));
    return 0 ;
    }
    Choose an option to check it.
  2. 2Previous year question

    What is the output of following code?

    main ()
    struct s1
    { char * z;
    int i;
    struct s1 * p;
    }
    static struct s 1 a []}={
        {"Nagpur", 1, a+1}
    {"Raipur', 2, a+2}
    {"Kanpur', 3, a}
    };
    struct s 1* ptr =a;
    printf (%s %s %s\n", a[0].z. ptr /rightarrow/rightarrow z, a [2]. p /rightarrow/rightarrow z;)
    Choose an option to check it.
  3. 3Previous year question

    What is the output of following code?

    main ()
    { static float a[]=\{13.24,1.5,4.5,5.4,3.5}
    float * j, * k;
    j= a};
    k= a + 4
    j=j * 2;
    k = k / 2;
    printf ("% f % f",* j,*k);
    }
    Choose an option to check it.
  4. 4Previous year question

    What is x\mathrm{x} in the following program?

    # include < stdioh >
    int main ( )
    {typedef (*(* arrfptr[3])())[10];
    arrfptr x ;
    return 0 ;
    }
    Choose an option to check it.
  5. 5Previous year question

    The condition num!\text{num}! =65=65 cannot be replaced by

    Choose an option to check it.

83 more questions on Programming in C

These 5 are free to try without an account. The rest of the published questions on Programming in C are part of UGC IQ: see what it includes, or create an account to get started.

Programming in C: questions people ask

How many UGC NET Computer Science questions are asked on Programming in C?

GateIQ has published 88 UGC NET Computer Science previous year questions on Programming in C, and 87 of them carry a written solution. That is 27.6% of the questions in Unit 3, Programming Languages and Computer Graphics.

Which unit of UGC NET Computer Science Paper 2 is Programming in C in?

Programming in C is a topic of Unit 3, Programming Languages and Computer Graphics, in Paper II (Computer Science and Applications, code 87).

Can I practise Programming in C PYQs for free?

Yes. The 5 most recent published questions on this topic are free on this page with no signup, and each shows the published answer with its explanation. The full archive, practice tracking and analytics are part of UGC IQ.

Related topics in Unit 3

Full syllabus · Paper II overview