jituTechnology

jituTechnology

C Programming

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

Write a program to use size of operator to determine the size of different data types.

/*A program to use size of operator to determine the size of different data types programmed by name: Jitendra yadav roll: 16 */ #include <stdio.h> #include <conio.h> void main() { printf(“Integer takes %d bytes of memory in this computer”,sizeof(int)); printf(“\ncharacter takes %d bytes of memory on this computer”,sizeof(char)); printf(“\nFloat takes %d bytes of memory on […]

read more

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 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

The Sin of X can be calculated approximately by using the first n terms of the infinite series

The Sin of X can be calculated approximately by using the first n terms of the infinite series( X is expressed in radians, /*program to find sine of x can be calculated approximately by using the firstn terms of the infinite series. Programmed by : kiran shrestha roll no. : 10121 Programmed on : 6th […]

read more


Connect with Me

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

Calendar

September 2019
S M T W T F S
« Jun    
1234567
891011121314
15161718192021
22232425262728
2930