Home / Harshit Tandon (page 11)

Harshit Tandon

Five Tricks to Creating E-Learning

Cras venenatis erat ac massa ultricies, sollicitudin ullamcorper justo elementum. Donec eu molestie odio, et congue enim. Maecenas pharetra lorem eu viverra aliquam. Vivamus commodo congue tortor sed laoreet. Nunc nibh dolor, rutrum nec velit sed, dapibus vulputate felis. Duis eget diam quis leo sodales auctor ut sed ligula. Fusce ultrices iaculis velit. Nam laoreet dictum adipiscing. Duis id felis ...

Read More »

Audio: SoundCloud

Duis tempor pulvinar erat, quis imperdiet nisl gravida vel. Nunc elementum enim id magna sodales, non convallis nibh laoreet. Phasellus sed dolor porttitor leo venenatis porttitor. Aenean elementum lacus tempor, convallis dui eget, tincidunt diam. Donec sagittis accumsan est nec interdum. Praesent pretium arcu eget nunc mollis pretium. Sed urna mauris, porttitor lobortis pretium eu, viverra ac est. Nam fermentum ...

Read More »

Audio: Self Hosted

Sed iaculis nisl at libero aliquet, ut ultricies neque luctus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras posuere aliquam venenatis. Curabitur posuere aliquam tellus, non pulvinar nulla sodales eu. Nam orci felis, elementum id dignissim ut, tincidunt ac tellus. Phasellus non sem sollicitudin, eleifend nisi vel, imperdiet neque. Quisque porta lacinia augue ut ...

Read More »

Program to find a substring in a given string

This program is to find a substring 1101 in a given string. This is also used for string matching . #include<stdio.h> #include<conio.h> void main() { char s[20]; char p[]="1101"; int i, count=0; clrscr(); printf("enter Your String = "); scanf("%s",s); for(i=0;s[i]!='\0';i++) { if(s[i]==p[count] ) count++; else count=0; if ( count == 4) { printf("\n Substring %s found in the given string", ...

Read More »

C Program for Add two Numbers Using Pointers without Operators

C Program for Add two Numbers Using Pointers without Operators | C program to  sum up two nos This is the simple c program which takes two numbers as input and give addition of those number as output. this program doesn’t use any operator for that purpose.  Program 1: C program to add two numbers using pointers | Without using operators  ...

Read More »

C program for drawing a circle using Midpoint Circle Algorithm

c program for midpoint circle algorithm

Here is given a C program for Midpoint of a Circle using Bresenhams Midpoint circle algorithm. The program is made using C Graphics and the output figure is shown below the code. #include<graphics.h> #include<conio.h> #include<stdio.h> void main() { int gd=DETECT,gm; int i,r,x=0,y,xc,yc; float d; clrscr(); initgraph(&gd,&gm,"c:\\tc\\"); printf("Enter Radius\n"); scanf("%d",&r); printf("Enter Center of circle\n"); scanf("%d",&xc); scanf("%d",&yc); d=1.25-r; y=r; do { if(d<0.0) ...

Read More »