jituTechnology

jituTechnology

Latest Posts

A program to find the length of given string using pointer and function.

A program to find the length of given string using pointer and function. Codes /*A program to find the length of given string using pointer and function*/ /*Programed by          Jitendra Kr Yadav                         10116                         2Apr,2011*/ #include<stdio.h> #include<conio.h> main() { char string[20]; int count=0; char *ptr; printf(“Enter the string: “); gets(string); for(ptr=&string[0];*ptr!=’\0′;ptr++) if(*ptr!=’ ‘) count+=1; […]

read more

A program to sort the elements of an array using pointer and function.

A program to sort the elements of an array using pointer and function. Codes /*A program to sort the elements of an array using pointer and function*/ /*Programed by          Jitendra Kr Yadav                         10116                         2Apr,2011*/ #include<stdio.h> #include<conio.h> void sort(int, int*); main() { intn,i,a[20]; printf(“Enter the no of input to be taken:”); scanf(“%d”,&n); printf(“Enter the […]

read more

A program to pass a pointer to array as an argument to a function and print the content of an array.

A program to pass a pointer to array as an argument to a function and print the content of an array. Codes /*A program to pass a pointer to array as an argument to a function and print the content of an array*/ /*Programed by          Jitendra Kr Yadav                         10116                         2Apr,2011*/ #include<stdio.h> #include<conio.h> void […]

read more

A program to find the smallest element in an array using pointer.

A program to find the smallest element in an array using pointer. Codes /*A program to find the smallest element in an array using pointer*/ /*Programed by          Jitendra Kr Yadav                         10116                         2Apr,2011*/ #include<stdio.h> #include<conio.h> void smallest(int, int*); main() { intn,a[20]; printf(“Enter the no of input to be taken:”); scanf(“%d”,&n); printf(“Enter the input:\n”); for(int […]

read more

A program to calculate the factorial and square of given number using call by reference.

A program to calculate the factorial and square of given number using call by reference. Codes /*A program to calculate the factorial and square of given number using call by reference*/ /*Programed by          Jitendra Kr Yadav                         10116                         2Apr,2011*/ #include<stdio.h> #include<conio.h> void fact(int,int*,int*); main() { inta,fac,sqr; printf(“Enter the number: “); scanf(“%d”,&a); fact(a,&fac,&sqr); printf(“Factorial = […]

read more


Connect with Me

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

Calendar

May 2024
S M T W T F S
 1234
567891011
12131415161718
19202122232425
262728293031