Visual Basic Programming Code Examples
Visual Basic > Applications VBA Code Examples
How to use the output of this control
C Language Code Convert Binary to Octal -
Program takes a binary number as input and converts to octal. Take a binary number as input. Divide the binary number into groups of 3 bits. For each group of 3 bits, multiply...
Illustrate Stack Operations using MACROS -
C Language Use #define function to define the macros. Define separate functions for the operations like push, pop, display etc. Use switch statement to access these functions.
C Language Calculation Divide Product PI -
C Calculations on a table, the radius of table, the diameter of the table, the circumference of the table, the area of a circle, calculate the radius, calculate the circumference, calculate
Checking Singly Linked List is Palindrome -
C Program checks whether the Singly Linked list is a palindrome. A Palindrome is a Pattern in List in which the contents when read from front is the same as when read from last. So
Enters The Value of N & Then Ask to Enter -
Following C++ program first ask to the user to enter the value of n and then ask to enter the n Number to add them. This program add all n numbers entered. To add n numbers in C++
Allocates Sufficient Memory for an Array -
C Programming language code example to Allocates sufficient memory for an array of num objects of size size. Return: Returns a pointer to the first byte of the allocated...
Generate Random Partition out of a Given -
Program 'takes the input' of a set of integers or characters. It firstly generates the random partition of the "Length of the Set". Starting from the beginning, it 'prints the number' of
Returning a Reference to a Pointer In C++ -
To declare such a function, precede its name with * and &. In the body of the function, you can do whatever is appropriate. An important rule with this type of "function" is that it must