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 print the direct and indirect address and its content using “address of operator” and “indirection operator

A program to print the direct and indirect address and its content using “address of operator” and “indirection operator”. Codes /*A program to print the direct and indirect address and its content*/ /*Programed by          Jitendra Kr Yadav                         10116                         2 Apr,2011*/ #include<stdio.h> #include<conio.h> main() { int x; int *pt; printf(“Enter the number: “); scanf(“%d”,&x); […]

read more

Write a program to sort the data in ascending and descending order using selection sort.

/*program to sort the data in  ascending order using selection sort. Programmed by :Jitendra Kumar Yadav roll ni.: 10116 programmed on.: 21st mar,2011*/ #include <stdio.h> #include <conio.h> void main() { int i,j,temp; int arr[10]={2,1,6,5,8,4,9,7,10,3}; for (i=0;i<9;i++) { for (j=i+1;j<9;j++) { if(arr[i]>arr[j])//for descending change > to < { temp = arr[i]; arr[i] = arr[j]; arr[j] = […]

read more


Connect with Me

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

Calendar

November 2019
S M T W T F S
« Jun    
 12
3456789
10111213141516
17181920212223
24252627282930