Showing posts with label C language structure. Show all posts
Showing posts with label C language structure. Show all posts

Sunday 7 February 2021

Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2020 | NIELIT O Level


Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , Jan 20

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein.

1.1 : What is the following is invalid header file in C ?
         (A) math.h (B) mathio.h
         (C) string.h (D) ctype.h

Sunday 3 January 2021

2d Matrix sum using array | C Language | Nielit O Level Question

 Q : write a program to sum 3x3 matrix using an array.


2d matrix sum using array


Solution : 

#include<stdio.h>

#include<conio.h>

Tuesday 21 July 2020

Structure record input-read in file | C Langauge

Q : Write a program to write records of students in a file, where each record consists of student name, roll number, CGPA, and address. Read the records back from the file and display them.

Code : 

#include<stdio.h>

#include<conio.h>

/*============================

     Girfa Student Help

     Structure write back to file

==============================*/