Skip to Main Content
Xpress Learning - Computer Fundamentals of Programming an IT by Pearson
book

Xpress Learning - Computer Fundamentals of Programming an IT by Pearson

by Ashok N. Kamthane, Rohit Khurana
May 2024
Beginner to intermediate content levelBeginner to intermediate
465 pages
16h 14m
English
Pearson India
Content preview from Xpress Learning - Computer Fundamentals of Programming an IT by Pearson
Strings and Standard
Functions
1.  What is a string? How it is declared?
Ans:  A string is an array of characters. String can be declared with character array. It can also be
declared with string pointer. To manipulate text such as words and sentences, normally strings are used.
Every string is terminated with ‘\0’ character or NULL. The NULL is a byte with all bits at logic zero.
The value of the string is its base address, i.e., address of the first character. When a string is created, a
few compilers place the string in the memory where it cannot be modified.
A string can be defined as follows:
char name[]={'I','N','D','I','A','\0'};
2.  Which format specif ...
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

Express Learning - Computer Fundamentals and Programming

Express Learning - Computer Fundamentals and Programming

Ashok Kamthane, ITL ESL
Windows® Internals, Sixth Edition, Part 2

Windows® Internals, Sixth Edition, Part 2

David A. Solomon Mark E. Russinovich and Alex Ionescu

Publisher Resources

ISBN: 9781299954878