June 20, 2026
Breaking News
  • Is Social Media Doing More Harm Than Good?
  • Pros and Cons of Online Classes
  • Should Uniforms Be Compulsory in Schools?
  • Are Exams the Best Way to Judge a...
Topic Nest Topic Nest
Nav
Nav
Topic Nest

Explore.Learn.Share

Is Social Media Doing More Harm Than Good?
Essay June 20, 2026

Is Social Media Doing More Harm

Pros and Cons of Online Classes
Essay June 20, 2026

Pros and Cons of Online Classes

Should Uniforms Be Compulsory in Schools?
Essay June 19, 2026

Should Uniforms Be Compulsory in Schools?

Are Exams the Best Way to Judge a Student?
Essay June 19, 2026

Are Exams the Best Way to

  • Blog
  • Checkout
  • Home
  1. Home
  2. C and C++
Program to search a number using Linear Search
C and C++

Program to search a number using Linear Search

Linear search checks each element in the array one by one until the desired element is found or the array...
  • BY Team Topic Nest
  • August 12, 2025
  • 0 Comment
C and C++

Parameter Passing Techniques

When writing functions in C, one key concept every programmer must understand is how parameters are passed. This affects whether...
  • BY Team Topic Nest
  • March 1, 2025
  • 0 Comment
C and C++

Program to print series from 10 to 1 using nested...

What Are Nested Loops? In C programming, nested loops refer to using one loop inside another loop. The inner loop...
  • BY Team Topic Nest
  • March 1, 2025
  • 0 Comment
C and C++

Program to print the sum of 1st N natural numbers

What are Natural Numbers? Natural numbers are positive integers starting from 1, 2, 3, and so on. The sum of...
  • BY Team Topic Nest
  • February 28, 2025
  • 0 Comment
C and C++

C program to add all the numbers entered by a...

This program repeatedly asks the user to enter a number. The loop continues adding the numbers until the user enters...
  • BY Team Topic Nest
  • February 28, 2025
  • 0 Comment
C and C++

Write a C program to read name and marks of...

#include <stdio.h> int main() { char name[50]; int marks, i,n; printf(“Enter number of students”); scanf(“%d”, &n); FILE *fptr; fptr=(fopen(“C:\\student.txt”,”a”)); if...
  • BY Team Topic Nest
  • March 24, 2023
  • 0 Comment
C and C++

Write a program to open a file using fopen()

#include<stdio.h> void main() { fopen() file *fp; fp=fopen(“student.DAT”, “r”); if(fp==NULL) { printf(“The file could not be open”); exit(0); }
  • BY Team Topic Nest
  • March 24, 2023
  • 0 Comment
C and C++

program to find the largest of n numbers and its...

#include<stdio.h> int main() { int n, i, max, position; // Ask user for the number of elements printf("Enter the number...
  • BY Team Topic Nest
  • March 23, 2023
  • 0 Comment
C and C++

Write a C program to pass an array containing age...

#include <stdio.h> // Function prototype void displayAges(int ages[], int size); int main() { int ages[5]; // Array to hold ages...
  • BY Team Topic Nest
  • March 23, 2023
  • 0 Comment
C and C++

Program for multiplication of two matrices

#include <stdio.h> int main() { int a[10][10], b[10][10], result[10][10]; int i, j, k, r1, c1, r2, c2; // Input rows...
  • BY Team Topic Nest
  • March 23, 2023
  • 0 Comment
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 28

Search

Categories

Business Law(312)
C and C++(271)
Civil Engineering(1)
Cloud Computing(25)
Compiler Design(8)
Computer Graphics(166)
Computer Security(2)
Creative(2)
Data Structures(90)
Education(7)
Electronics & Electrical(1)
Essay(6)
Food(2)
Health(2)
Kannada(1)
Mechanical Engineering(1)
Meditation & Mindfulness(1)
Natural Remedies(1)
OS(282)
Php(26)
Physics(1)
Preventive Care(1)
Shell Script(3)
Study Abroad(3)
Uncategorized(1)

Blog Posts

Is Social Media Doing More Harm Than Good?
Essay June 20, 2026

Is Social Media Doing More Harm Than Good?

Pros and Cons of Online Classes
Essay June 20, 2026

Pros and Cons of Online Classes

Should Uniforms Be Compulsory in Schools?
Essay June 19, 2026

Should Uniforms Be Compulsory in Schools?

Are Exams the Best Way to Judge a Student?
Essay June 19, 2026

Are Exams the Best Way to Judge a Student?

© 2025 Topic Nest | All Rights Reserved