Skip to main content

Recent Posts

Web Technology

Some Important C program of String.

String is an array of character terminated by null character ('\0') and is stored in consecutive memory location.
 Each character in string occupies one byte of memory.

Declaration of String
char variable-name[size];
here, size refers to number of character to be stored.

Below are the some important c program of string:-

Some Important Alphabet pattern program.

C program to input a sentence and count the number of vowels,consonants and spaces.

C program to check whether the given string is palindrome or not using string handling function.

C program to find the length of the given string without using string handling function.

C program to convert all lowercase letters into uppercase letters and vice versa without using string handling function.

C program to reverse a string without using string handling function

C program to copy content of one string to another string without using string handling function.

> C program to check whether the given character is present in given string or not. 

C Program to insert a given character at a given array index of a given string. Eg:if a given string is  “gnesh” and given character to insert is ‘a’ and the array index is 1,then resulting string should be ganesh.

> C Program to check whether the given word is present in the given string or not.

C program to input 'n' name of students and sort them in alphabetical order.

Write C program to delete space from a given sentences.



Some other important c program:-


Important C program of 1D Array

Important C program of Matrix(2D Array)

Important C program using function


Click Here to download the complete notes of C programming


Comments

Popular posts from this blog

Pokhara University BE-IT & Computer Engineering Notes

Features:- Based on Pokhara University Syllabus  Simple and easy to understand  Exam oriented  Short and effective  Handwritten Notes plus computerized  Extra study materials  You can read online  You can download freely   In pdf format SEMESTER WISE NOTES  First Semester Second Semester Third Semester Fourth Semester Fifth Semester Sixth Semester Seventh Semester Eighth Semester

Web Technology

  Download Web technology Tutorial Solution  Q.5)  Write necessary code for creating following form. Do proper validation also. Q.6)  Write HTML code to generate following list. Q.12) How can you change the color and font of document in JavaScript? Q.13) Write a JavaScript program to display a prompt for input number, and check whether that number is prime number or not and show the result in alert box. Q.20) Create and test an HTML document that describes a table with the following contents: The columns of the table must have the headings “Pine,” “Maple,” “Oak,” and “Fir.” The rows must have the labels “Average Height,” “Average Width,” “Typical Life Span,” and “Leaf Type.” You can make up the data cell values. Q.23) Create and test an HTML document that describes nested ordered lists of cars. The outer list must have three entries: compact, midsize, and sports. Inside each of these three lists there must be two sublists of body styles. The compact- and midsize-car sublists are two d

Pokhara University Syllabus

Pokhara University Bachelor of Engineering in Information Technology(BE-IT) syllabus Preview and Download Pokhara University Computer Engineering  Syllabus Preview and Download Pokhara University Civil Engineering Syllabus Preview and Download