Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Structure in c language

Rating
-
Sold
-
Pages
19
Uploaded on
18-01-2023
Written in
2021/2022

Structure is a collection of logically related data items of different datatypes grouped together under single name. Structure is a user defined datatype. The structure helps to build a complex datatype which is more meaningful than an array. But, an array holds similar datatype record, when structure holds different datatypes record.

Show more Read less
Institution
Course

Content preview

Programming for Problem So
GTU # 3110003
USING




Structure {C}
Programming




PROGRAMING OF PROBLEM SOLVING (PPS)
Prof. Nilesh Gambhava
LAXMI INSTITUTE OF TECHNOLOGY
Computer Engineering Department, (LIT)
Darshan Institute of Engineering & Technology, Rajkot

,Data Types
Data types are defined as the data storage format that a variable can store a data.

Data types in C


Primary Data type
Secondary Data type
(int, float, char)



Derived Data type User defined D
(array, pointer) (structure, unio

C language has built-in datatypes like primary and derived data types.
But, still not all real world problems can be solved using those data types.
We need custom datatype for different situation.
Prof. Nilesh Gambhava #3110003 (PPS) – Structure

, User Defined Datatype
We need combination of various datatypes to understand different entity/obj
Example-1:
Book Title: Let Us C Datatype: char / string
Author: Yashavant Kanetkar Datatype: char / string
Page: 320 Datatype: int
Price: 255.00 Datatype: float
Example-2:
Student Name: ABC Datatype: char / string
Roll_No: 180540107001 Datatype: int
CPI: 7.46 Datatype: float
Backlog: 01 Datatype: int




Prof. Nilesh Gambhava #3110003 (PPS) – Structure

Written for

Institution
Course

Document information

Uploaded on
January 18, 2023
Number of pages
19
Written in
2021/2022
Type
SUMMARY

Subjects

$9.19
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
studytool

Get to know the seller

Seller avatar
studytool Gujarat technological university
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions