Wrapper Class in Java

Introduction :  Since java is an object-oriented programming language, and hence we need to deal with objects of primitive data types many times such as in Collections, Serialization, Synchronization etc problems.To solve these problems, we use wrapper class. The wrapper classes are part of the java.lang package, which is imported Read more…

Loading

File Handling Examples in C

Example : Write a Program(WAP) in C to create a New Blank File with a File Name and confirm its formation/creation. Example : Write a Program(WAP) in C to create a New Blank File with a User-Defined File Name and confirm its formation/creation. Example : Write a Program(WAP) in C Read more…

Loading

C Structure Program Examples

Example : A C program to find out the memory occupied by a structure or union.  Example : A C program to store static/constant data in a structure & display them.  Example : A C program to store & copy static/constant data in another structure & display them.  Example : Read more…

Loading

Function Program Examples

    Example : A C program to display message using User Defined Function (UDF). Example : A C program to display the Local and Global variables . Example : A C program to pass an Array through a User Defined Function(UDF) . Example : A C program to pass Read more…

Loading

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