Skip to content (Press Enter)
SURYAOFFICIAL

SURYAOFFICIAL

Learn Anytime Anywhere

  • Home
  • blog
  • Contact Us
  • About us
SURYAOFFICIAL

SURYAOFFICIAL

Learn Anytime Anywhere

  • Home
  • blog
  • Contact Us
  • About us

Category: C Programming

write a C program to display the name of day on the basis of entered number 1 to 7. for example, 1 for sunday.

22 Jul,2020 suryad52 Comments

#include<stdio.h> void main() { int choice; printf(“choose a number from 1 to 7:”); scanf(“%d”,&choice); switch(choice) { case 1: printf(“sunday”); break; …

Read More

write a program to checks whether the number entered by user is exactly divisible by 5 but not by 11.

19 Jul,2020 suryad5Leave a comment

//write a program to  checks whether the number entered by user is exactly divisible by 5 but not by 11. …

Read More

Write a C program to sort integer values in descending order

19 Jul,2020 suryad5Leave a comment

//2063.2.a.Write a C program to sort integer values in descending order. #include<stdio.h> void main() { int a[20],i,j,t,n; printf(“enter the size …

Read More

Concept of Pointer(Part-2)

18 Jul,2020 suryad5Leave a comment

//pointer2 #include<stdio.h> void main() { int *p[10]; //it is an array of 10 pointers that is there are 10 pointer …

Read More

C Program to swap two numbers showing call by reference.

18 Jul,2020 suryad5Leave a comment

//Application of Pointer variable #include<stdio.h> void swap(int *p,int *q); void main() { int a,b; printf(“enter the value of two variable …

Read More

Extended Concept of Pointer

18 Jul,2020 suryad5Leave a comment

//pointer #include<stdio.h> void main() { int a, *b, **c, ***d; a=2000; b=&a; c=&b; d=&c; printf(“%d\t%d\t%d\t%d”,a,b,c,d); } Here ‘a‘ is simple …

Read More

HSEB-2066(2.a)

18 Jul,2020 suryad5Leave a comment

//2066 //Q.2.a.Write a Program to store name and mark o 20 students. Sort the data according with mark in descending …

Read More

HSEB-2062

4 Jul,2020 suryad5Leave a comment

//2062 //Q1.a. write a c prgram to print the 10 positive integers and their factorials. #include<stdio.h> #define max 10 void …

Read More

HSEB-2061

2 Jul,2020 suryad5Leave a comment

//HSEB or NEB//year 2061(2004)/*Q.1(a).The marks obtained by studen in 7 different subjects are entered through the keyboard. The student gets …

Read More

HCF and LCM

2 Jul,2020 suryad5Leave a comment

//HCF and LCM #include<stdio.h> void main() { int n1,n2,a,b,LCM,HCF; printf(“enter the value of two numbers:”); scanf(“%d%d”,&n1,&n2); a=n1; b=n2; while(n1!=n2) { …

Read More

Posts navigation

Page 1 Page 2 Page 3 >

Recent Posts

  • write a C program to display the name of day on the basis of entered number 1 to 7. for example, 1 for sunday.
  • write a program to checks whether the number entered by user is exactly divisible by 5 but not by 11.
  • Write a C program to sort integer values in descending order
  • Concept of Pointer(Part-2)
  • C Program to swap two numbers showing call by reference.

Categories

  • C Programming
  • HSEB
  • Pointer
  • Programming Language
  • Uncategorized

Recent Comments

  • Ram Binay sharma on write a C program to display the name of day on the basis of entered number 1 to 7. for example, 1 for sunday.
  • Ram Binay sharma on write a C program to display the name of day on the basis of entered number 1 to 7. for example, 1 for sunday.
  • Manij on C Program to Dispaly 2-D Table

Archives

  • July 2020
  • June 2020

Search

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

©2026 SURYAOFFICIAL.