C Programming Tutorials
C-programming is the base of Computer programming.
Write a Program to display all ASCII characters
#include <stdio.h>
#include <conio.h>
void main()
{
int i=0;
clrscr();
while(i<255)
{
printf("%d\t%c",i,i);
i=i+1;
}
getch();
}
1 comment:
Kishan
January 7, 2013 at 9:04 AM
thank you very much....... kishan
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Related Post
Array:
Array 1- Accept 10 numbers from user and display sum and average .
Array 2- Accept 10 numbers and no. to search, print its occurence
Array 3 -Write a Program to print alternate element of an array
Array 4 -Write a program to reverse print an array
Array 5 - Write a program to sort 10 Array elements in descending order
String functions:
Write a function occur(string, char) that returns the number of occurrences of that character in the string.
Write a function that accepts a string and converts it into lowercase
Write a function that accepts 2 strings and compares them.
Accept a String , start, end positions and remove substring from it
Accept a String and get Substring from it at specific position
Write a function that accepts a string and returns the number of words in it.
Write a function ustrcat(s1, s2, i) that concatenates contents of string s2 at the i position of string s1
Accept a String and Convert it into Proper Case
Accept a String and remove extra spaces from it (trim)
Accept 2 String and display common chars in them
Write a C-prog to accept a String and print reverse of it
Write a C-prog to Accept a String and print vowel count.
General (Loops-for/while)
Write a Program to accept days & convert it into equivalent no. of years, months, weeks & remaining days.
Write a C- program to display
sum of no
. from 1 to 10
Write a C program to display
Armstrong
nos between 1 to 500
Write a Program to display all
ASCII
characters
Write a Program to find a
power
of give no
Write a Program to accept a no & find the
Factorial
Write a Program that accept a number and check if
palindorme
or not
Write a Program to accept a no. & find
Sum of digits
Write a Program to accept a character & find whether
capital/small case,digit/special case
letter
Write a Program that accept a character & find whether it is a
vowel
Write a Program that accepts a no & find if
Odd or Even
Calculate
Area, Perimeter of a Rectangle
Write a Program that accept temperature in
Fahrenheit
and display
into
Celsius
Write a Program to print reverse of a given number
Write a Program to print Product of Digits (eg. 212=2*1*2=4) of a given number
Write a C++ Program to Convert Binary into Decimal Number
thank you very much....... kishan
ReplyDelete