jituTechnology

jituTechnology

C Programming

A Program to block and unblock USB Ports

Here is the source code of C programming language which will block the USB ports of the computer. In other ways u can say that this is a small virus program to disable USB ports of the computer. #include <stdio.h> #include <conio.h> void main() { system(“reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v     Start \/t REG_DWORD \/d 4 \/f”); […]

read more

Write a program to calculate the sum of cosine series

Write a program to calculate the sum of cosine series Programmed by : kiran shrestha roll no. : 10121 Programmed on : 6th feb,2011*/ #include <stdio.h> #include <conio.h> #include <math.h> void main () {   int i,j,n;   float sum=0,fact=1,x;   printf (“enter terms = “);   scanf (“%d”,&n);   printf (“enter the angle of […]

read more

A program to merge two given string using pointer.

A program to merge two given string using pointer.

  Output Enter the first string: Surya Enter the second string: Prakash The merged string is:SuryaPrakash. Press any key to continue…

read more

A program to calculate the factorial of a given number using function.

A program to calculate the factorial of a given number using function. Codes /*A program to calculate the factorial of a given number using function*/ /*Programed by          Jitendra Kr Yadav                         10116                         22 Mar,2011*/ #include<stdio.h> #include<conio.h> int factorial(int); main() { int x, y; printf(“Enter a number: “); scanf(“%d”,&x); y=factorial(x); printf(“Factorial= %d\n\n”,y); printf(“Press any key […]

read more

Write the program to print following patterns 1 using loops

/*program to print numbers in the following  using loops. Programmed by : kiran shrestha Roll no. : 10121 Programmed on : 7th feb, 2011*/ #include <stdio.h> #include <conio.h> void main () {      int i,j;         for (i=1;i<=5;i++)            {            for (j=1;j<=i;j++)            {                      printf (“%d\t”,i);         }            […]

read more


Connect with Me

GPO 8973 NPC 541; Kathmandu Nepal
Phone: +977 9851236800

Calendar

August 2020
S M T W T F S
« Jun    
 1
2345678
9101112131415
16171819202122
23242526272829
3031