Skip to Main Content
Data Structures Using C, 2nd Edition by Pearson
book

Data Structures Using C, 2nd Edition by Pearson

by A. K. Sharma
May 2024
Intermediate to advanced content levelIntermediate to advanced
521 pages
14h 12m
English
Pearson India
Content preview from Data Structures Using C, 2nd Edition by Pearson
Files 451
9.11 GRADED PROBLEMS
Problem 1: A macro processor is a text substitution program where macro consists of a macro name and
its definition as shown below:
Macro name Macro definition (replacement text)
YMCA YMCA institute of Engineering
The macro processor replaces all occurrences of macro name in a document by its corresponding
definition. Write a program that takes a text in which the macros are defined at the beginning by the
statements such as given below. The definitions end by the keyword “MEND”.
#define CE Computer Engineering
#define PC Personal computer
MEND
<text of the document>
The program implements the macr ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Structures Using C

Data Structures Using C

Samir Kumar Bandyopadhyay, Kashi Nath Dey
Intermediate C Programming, 2nd Edition

Intermediate C Programming, 2nd Edition

Yung-Hsiang Lu, George K. Thiruvathukal

Publisher Resources

ISBN: 9781299831582