String in C

Definition of String in C A string in C is typically a single-dimensional character array ending with a null character. String in C are groups of characters that include letters, digits, and symbols enclosed in quotation marks. The string is an array/sequence of characters that is terminated by a null Read more…

Loading

Pointer Examples in C

      Example : A Pointer Examples in C to find out the size/memory occupied by different data types using sizeof() operator. Example : A Pointer Examples in C to print value using Pointer. Example : A Pointer Examples in C to print value and address of variables using Pointer through different ways. Example Read more…

Loading

Nested Loop Examples

         Example : Write a program in C to print the given pattern using the nesting of loop concept. Example : Write a program in C to print as the given pattern using nesting of loop concept. Example : Write a program in C to print as the Read more…

Loading

Array in C

Definition An array is a collection of similar type of data elements stored in adjacent memory locations and are referred to by a single array-name. Array is a data structure storing a group of elements, all of which are of the same data type. Array is a powerful data storage Read more…

Loading

Switch Case Examples in C

Example : Write a Switch Case Examples in C to display the Entered value between 1-10. Example : A Switch Case Examples in C to display the name of weekdays from Sunday to Monday using switch/keys 1 to 7. Example : A Switch Case Examples in C to display the name Read more…

Loading

Looping Examples

Example : A program in C to find out the simple interest of given values using a while/do-while loop with a yes-no option. Example : Write a program in C to display the Infinite loop concept. Example : Write a program in C to display the Infinite loop concept using Read more…

Loading

If-Else Examples

         Example : Write a program in c to check whether the voter is eligible to vote or not. Example : Write a program in C to print when the condition is true(1) or false(0). Example : Write a program in C to check & print whether Read more…

Loading

Simple Program Examples

       Example : Simple C Program Typical Template. Example : Write a program in C to print a message in a different format. Example : Write a program in C to print a message in another different format. Example : Write a program in C to display the addition result of two numbers. Example : Write a program Read more…

Loading