Welcome to the UGC NET Syllabus Documentation. Explore the units below:

  1. Unit 1: Discrete Structures and Optimization

  2. Unit 2: Computer System Architecture

  3. Unit 3: Programming Languages and Computer Graphics

  4. Unit 4: Database Management Systems

  5. Unit 5: System Software and Operating System

  6. Unit 6: Software Engineering

  7. Unit 7: Data Structures and Algorithms

  8. Unit 8: Theory of Computation and Compilers

  9. Unit 9: Data Communication and Computer Networks

  10. Unit 10: Artificial Intelligence (AI)

Unit - 1 : Discrete Structures and Optimization

Welcome to the documentation for Unit 1.

This is the content of Unit 1.

#include <iostream>
using namespace std;

class Node {
public:
    int data;
    Node *next;

    Node(int data){
        this ->data= data;
        next =NULL;
    }
};

int main(){
    Node n1(1);
    Node n2(2);
    n1.next =&n2;
    cout <<n1.data<<" "<<n2.data<<endl;
    return 0;