Programmator
Programmator
  • Home
  • Download
  • Social
    • YouTube
    • Instagram
    • Facebook
    • Telegram
  • Features
    • C/C++
    • Java
  • Contact Us
Write a program to access elements using pointer

In this program, we will learn to create a C program that will Access Elements of an Array Using Pointer using C programming.
Write a C program to print the address of character and the character of string using pointer

In this program we are going to print address of character and string using pointers.
Write a C program to swap the two values using pointers

Method 1.

In this program we are going to swap two numbers using pointers.
In this tutorial, we will learn about how to create a program in C that prints address of any variable. At last we will also learn about printing an address of a variable in C using pointer.
Design a structure student_record to contain name, branch and total marks obtained. Develop a program to read data for 10 students in a class and print them

In this program, a structure (student) is created which contains name, Branch and marks as its data member.
Define a structure called cricket that will describe the following information
Player name
Team name
Batting average
Using cricket, declare an array player with 5 elements and write a C program to read the information about all the 5 players and print team wise list containing names of players with their batting average.
C Program using structure for time format

Define structure data type called time_struct containing three member’s integer hour, integer minute and integer second.
Define a structure type struct personal that would contain person name, date of joining and salary using this structure to read this information of 5 people and print the same on screen

C Program to read and print employee details

In this program we are going to implement a structure Personal which contains name, date of joining and salary of employees.
Initialization of global and static variables in C
Write a C program using global variable, static variable.

In C language both the global and static variables must be initialized with constant values.

Write a program to read structure elements from keyboard

Store Information and display it using structure

In this program, a structure book is created. The structure has three members: Id(Int), Name(char), price(float).
Newer Posts Older Posts Home

Loading latest videos...

ABOUT

I could look back at my life and get a good story out of it. It's a picture of somebody trying to figure things out.

SUBSCRIBE & FOLLOW

POPULAR POSTS

  • Write a program to that performs as calculator (Addition, Multiplication, Division, Subtraction)
  • Write a program to find area of triangle ( a=h*b*0.5 ) | a=area, h=height, b=base
  • Java program to check whether a given number is even or odd
  • Java program to check whether an alphabet is vowel or consonant
  • Write a program to access elements using pointer
Powered by Blogger

Archive

  • November 20251
  • February 20241
  • January 20242
  • November 20234
  • October 20236
  • September 20236
  • August 20235
  • April 20231
  • March 20231
  • October 20221
  • August 20223
  • July 20222
  • May 20223
  • April 20222
  • March 20221
  • January 20221
  • December 20216
  • November 20214
  • October 20211
  • September 20216
  • August 202127
  • July 20216

Report Abuse

Copyright

  • Home

About Me

Nilesh Patel
View my complete profile

Copyright © Programmator. Designed by ProbleSolvable