Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~1K People Reached
Favorite Forums
Favorite Tags
c x 12
Member Avatar for Snehamathur

[CODE] /* Any year is input through the keyboard. write a program to determine whether the year is a leap year or not. */ #include <stdio.h> #include <conio.h> void main(void) { int year; clrscr(); printf("\n\n enter a year::"); scanf("%d",&year); if(year%400==0) printf("\n\n Leap Year."); else if(year%100==0) printf("\n\n Not Leap Year."); else …

Member Avatar for stephen.beatson
0
369
Member Avatar for Snehamathur

It's my First Program using circuar singly linklist [CODE] typedef struct clist { int data; struct clist *next; }CLIST; CLIST *cp = NULL; [/CODE] Add new node function [CODE] void add(int num) { CLIST *r; r = malloc (sizeof (CLIST)); if (!r) { printf("\n\n Not Enough Memory"); return; } r->data …

Member Avatar for Narue
0
110
Member Avatar for Snehamathur

I want to know the procedure by which we can calculate time complexity of a C program. and how would we compare two algorithms. here are two sorting programs. how to compare both. [CODE] for(i = 0; i < n - 1; i++) for(j = i + 1; j < …

Member Avatar for vinitmittal2008
0
287
Member Avatar for hqrtt

Hey guys, I'm a newbie in C and I've got to make an app: Users enter 10 numbers; I've got to compare them; At the end tell the user if a) Number are decreasing (ex: 10 9 8 7 6 5 4 3 2 1 0) b) Number are creasing …

Member Avatar for Snehamathur
0
119
Member Avatar for Snehamathur

Hello I am new to this community and newbie to c language. I want to code for modulus operator (%) in c.. Need Help. Thanks in Advance

Member Avatar for Snehamathur
0
184